diff --git a/static/rawApiSpec.yaml b/static/rawApiSpec.yaml index d98e77119..be1e7fe79 100644 --- a/static/rawApiSpec.yaml +++ b/static/rawApiSpec.yaml @@ -10,6 +10,15 @@ components: in: header schemas: def-0: + type: object + properties: + jqQuery: + type: string + required: + - jqQuery + additionalProperties: false + title: /schemas/userInputs/jqQuery + def-1: type: object properties: combinator: @@ -20,6 +29,63 @@ components: type: array items: anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - between + - notBetween + - = + value: + type: object + oneOf: + - type: object + properties: + from: + type: string + format: date-time + to: + type: string + format: date-time + required: + - from + - to + - type: object + properties: + preset: + type: string + enum: + - today + - tomorrow + - yesterday + - lastWeek + - last2Weeks + - lastMonth + - last3Months + - last6Months + - last12Months + required: + - preset + required: + - property + - operator + - value + additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: @@ -40,6 +106,118 @@ components: - operator - value additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + operator: + enum: + - relatedTo + blueprint: + type: string + value: + anyOf: + - type: string + - type: array + items: + type: string + direction: + enum: + - upstream + - downstream + required: + type: boolean + additionalProperties: false + required: + - operator + - value + - blueprint + - type: object + properties: + propertySchema: + type: object + properties: + type: + type: string + format: + type: string + items: + type: object + properties: + type: + type: string + format: + type: string + required: + - type + required: + - type + additionalProperties: false + operator: + enum: + - = + - "!=" + - contains + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + required: + - operator + - propertySchema + additionalProperties: false + - $ref: "#/components/schemas/def-1" + required: + - combinator + - rules + additionalProperties: false + title: /schemas/entitiesQuery + def-2: + type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: - type: object properties: property: @@ -84,51 +262,76 @@ components: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false + - $ref: "#/components/schemas/def-0" required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + - $ref: "#/components/schemas/def-0" + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -142,6 +345,7 @@ components: - type: array items: type: string + - $ref: "#/components/schemas/def-0" direction: enum: - upstream @@ -185,17 +389,18 @@ components: - type: string - type: number - type: boolean + - $ref: "#/components/schemas/def-0" required: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-2" required: - combinator - rules additionalProperties: false - title: /schemas/entitiesQuery - def-1: + title: /schemas/entitiesQueryWithJqQuery + def-3: type: object properties: id: @@ -268,6 +473,10 @@ components: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -302,6 +511,10 @@ components: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -344,7 +557,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -451,7 +664,7 @@ components: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -473,7 +686,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -564,7 +777,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -623,7 +836,7 @@ components: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -734,7 +947,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -812,7 +1025,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -889,7 +1102,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -965,6 +1178,8 @@ components: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -1004,7 +1219,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -1116,7 +1331,7 @@ components: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -1149,7 +1364,7 @@ components: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -1235,26 +1450,6 @@ components: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -1299,51 +1494,74 @@ components: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -1404,7 +1622,7 @@ components: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -1699,15 +1917,15 @@ components: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - type - layout - widgets title: /schemas/dashboardWidget - def-2: + def-4: type: object properties: id: @@ -1777,6 +1995,10 @@ components: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -1811,6 +2033,10 @@ components: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -1853,7 +2079,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -1960,7 +2186,7 @@ components: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -1982,7 +2208,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2073,7 +2299,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2132,7 +2358,7 @@ components: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -2243,7 +2469,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2321,7 +2547,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2398,7 +2624,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2474,6 +2700,8 @@ components: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -2513,7 +2741,7 @@ components: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -2625,7 +2853,7 @@ components: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -2658,7 +2886,7 @@ components: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -2744,26 +2972,6 @@ components: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -2808,51 +3016,74 @@ components: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -2913,7 +3144,7 @@ components: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -3208,8 +3439,8 @@ components: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - title @@ -3220,7 +3451,7 @@ components: - groups - displayMode title: /schemas/grouperWidget - def-3: + def-5: type: object properties: combinator: @@ -3264,13 +3495,27 @@ components: - property - operator - value - - $ref: "#/components/schemas/def-3" + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" required: - combinator - rules additionalProperties: false title: /schemas/searchIdentifierQuerySchema - def-4: + def-6: type: object properties: combinator: @@ -3314,12 +3559,317 @@ components: - property - operator - value - - $ref: "#/components/schemas/def-4" + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-6" required: - combinator - rules additionalProperties: false title: /schemas/searchRelationsQuerySchema + def-7: + type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - between + - notBetween + - = + value: + type: object + oneOf: + - type: object + properties: + from: + type: string + format: date-time + to: + type: string + format: date-time + required: + - from + - to + - type: object + properties: + preset: + type: string + enum: + - today + - tomorrow + - yesterday + - lastWeek + - last2Weeks + - lastMonth + - last3Months + - last6Months + - last12Months + required: + - preset + required: + - property + - operator + - value + additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + targetProperty: + type: string + enum: + - $title + - $identifier + relation: + type: string + required: + - operator + - relation + additionalProperties: false + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + scorecardRule: + type: string + scorecard: + type: string + required: + - operator + - scorecard + additionalProperties: false + - type: object + properties: + property: + type: string + operator: + enum: + - ">" + - ">=" + - < + - <= + value: + anyOf: + - type: number + - type: string + format: date-time + required: + - property + - operator + - value + additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + relation: + type: string + targetProperty: + type: string + enum: + - $title + - $identifier + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - relation + - operator + - value + - type: object + properties: + scorecard: + type: string + scorecardRule: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - scorecard + - operator + - value + - type: object + properties: + operator: + enum: + - relatedTo + blueprint: + type: string + value: + anyOf: + - type: string + - type: array + items: + type: string + direction: + enum: + - upstream + - downstream + required: + type: boolean + additionalProperties: false + required: + - operator + - value + - blueprint + - type: object + properties: + propertySchema: + type: object + properties: + type: + type: string + format: + type: string + items: + type: object + properties: + type: + type: string + format: + type: string + required: + - type + required: + - type + additionalProperties: false + operator: + enum: + - = + - "!=" + - contains + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + required: + - operator + - propertySchema + additionalProperties: false + - $ref: "#/components/schemas/def-7" + required: + - combinator + - rules + additionalProperties: false + title: /schemas/entitiesQueryV2 paths: "/v1/blueprints/{blueprint_identifier}/permissions": get: @@ -3628,7 +4178,21 @@ paths: - property - operator - value - - $ref: "#/components/schemas/def-3" + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" required: - combinator - rules @@ -3643,6 +4207,7 @@ paths: - type: array items: type: string + - $ref: "#/components/schemas/def-6" properties: type: object default: {} @@ -3657,54 +4222,7 @@ paths: type: string pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - type: "null" - - type: object - properties: - combinator: - enum: - - and - - or - rules: - type: array - items: - anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - = - value: - anyOf: - - type: string - - type: number - - type: "null" - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - property: - type: string - operator: - enum: - - in - value: - type: array - items: - type: string - additionalProperties: false - required: - - property - - operator - - value - - $ref: "#/components/schemas/def-4" - required: - - combinator - - rules - additionalProperties: false + - $ref: "#/components/schemas/def-6" additionalProperties: true parameters: - schema: @@ -3745,8 +4263,118 @@ paths: security: - bearer: [] responses: - "200": - description: Default Response + "201": + description: Created successfully. + content: + application/json: + schema: + description: Created successfully. + type: object + properties: + ok: + enum: + - true + entity: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entity + - ok + additionalProperties: false get: tags: - Entities @@ -3782,6 +4410,12 @@ paths: in: query name: attach_title_to_relation required: false + - schema: + type: boolean + default: false + in: query + name: attach_identifier_to_title_mirror_properties + required: false - schema: type: string minLength: 1 @@ -3793,7 +4427,119 @@ paths: - read:entities responses: "200": - description: Default Response + description: Retrieved successfully. + content: + application/json: + schema: + description: Retrieved successfully. + type: object + properties: + ok: + enum: + - true + entities: + type: array + items: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entities + - ok + additionalProperties: false "/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}": patch: tags: @@ -3824,6 +4570,7 @@ paths: - type: array items: type: string + - $ref: "#/components/schemas/def-6" properties: type: object propertyNames: @@ -3839,54 +4586,7 @@ paths: type: string pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - type: "null" - - type: object - properties: - combinator: - enum: - - and - - or - rules: - type: array - items: - anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - = - value: - anyOf: - - type: string - - type: number - - type: "null" - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - property: - type: string - operator: - enum: - - in - value: - type: array - items: - type: string - additionalProperties: false - required: - - property - - operator - - value - - $ref: "#/components/schemas/def-4" - required: - - combinator - - rules - additionalProperties: false + - $ref: "#/components/schemas/def-6" additionalProperties: false parameters: - schema: @@ -3916,7 +4616,117 @@ paths: - bearer: [] responses: "200": - description: Default Response + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + entity: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entity + - ok + additionalProperties: false put: tags: - Entities @@ -3940,6 +4750,7 @@ paths: - type: array items: type: string + - $ref: "#/components/schemas/def-6" properties: type: object default: {} @@ -3954,54 +4765,7 @@ paths: type: string pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - type: "null" - - type: object - properties: - combinator: - enum: - - and - - or - rules: - type: array - items: - anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - = - value: - anyOf: - - type: string - - type: number - - type: "null" - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - property: - type: string - operator: - enum: - - in - value: - type: array - items: - type: string - additionalProperties: false - required: - - property - - operator - - value - - $ref: "#/components/schemas/def-4" - required: - - combinator - - rules - additionalProperties: false + - $ref: "#/components/schemas/def-6" additionalProperties: true parameters: - schema: @@ -4031,7 +4795,117 @@ paths: - bearer: [] responses: "200": - description: Default Response + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + entity: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entity + - ok + additionalProperties: false get: tags: - Entities @@ -4067,38 +4941,11 @@ paths: in: query name: attach_title_to_relation required: false - - schema: - type: string - minLength: 1 - in: path - name: entity_identifier - required: true - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - security: - - bearer: - - read:entities - responses: - "200": - description: Default Response - delete: - tags: - - Entities - parameters: - schema: type: boolean default: false in: query - name: delete_dependents - required: true - - schema: - type: string - in: query - name: run_id + name: attach_identifier_to_title_mirror_properties required: false - schema: type: string @@ -4113,22 +4960,164 @@ paths: name: blueprint_identifier required: true security: - - bearer: [] - responses: + - bearer: + - read:entities + responses: "200": - description: Deleted successfully. + description: Retrieved successfully. content: application/json: schema: - description: Deleted successfully. + description: Retrieved successfully. type: object properties: ok: enum: - true + entity: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entity + - ok additionalProperties: false + delete: + tags: + - Entities + parameters: + - schema: + type: boolean + default: false + in: query + name: delete_dependents + required: true + - schema: + type: string + in: query + name: run_id + required: false + - schema: + type: string + minLength: 1 + in: path + name: entity_identifier + required: true + - schema: + type: string + minLength: 1 + in: path + name: blueprint_identifier + required: true + security: + - bearer: [] + responses: + "200": + description: Deleted successfully. + content: + application/json: + schema: + description: Deleted successfully. + properties: + ok: + enum: + - true required: - ok + additionalProperties: false "/v1/blueprints/{blueprint_identifier}/entities-count": get: tags: @@ -4144,7 +5133,20 @@ paths: - bearer: [] responses: "200": - description: Default Response + description: Retrieved successfully. + content: + application/json: + schema: + description: Retrieved successfully. + properties: + ok: + enum: + - true + count: + type: number + required: + - ok + additionalProperties: false "/v1/blueprints/{blueprint_identifier}/all-entities": delete: tags: @@ -4175,14 +5177,13 @@ paths: application/json: schema: description: Deleted successfully. - type: object properties: ok: enum: - true - additionalProperties: false required: - ok + additionalProperties: false /v1/entities/search: post: tags: @@ -4194,7 +5195,6 @@ paths: type: object properties: combinator: - type: string enum: - and - or @@ -4202,26 +5202,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -4266,51 +5246,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -4371,7 +5374,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" required: - combinator - rules @@ -4409,12 +5412,134 @@ paths: in: query name: attach_title_to_relation required: false + - schema: + type: boolean + default: false + in: query + name: attach_identifier_to_title_mirror_properties + required: false security: - bearer: - read:entities responses: "200": - description: Default Response + description: Retrieved successfully (this response can be compressed). + content: + application/json: + schema: + description: Retrieved successfully (this response can be compressed). + type: object + properties: + ok: + enum: + - true + matchingBlueprints: + type: array + items: + type: string + entities: + type: array + items: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entities + - ok + additionalProperties: false /v1/entities/aggregate: post: tags: @@ -4445,7 +5570,7 @@ paths: calculationBy: type: string query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - func @@ -4475,7 +5600,7 @@ paths: calculationBy: type: string query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - func @@ -4488,7 +5613,7 @@ paths: enum: - countValues query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" property: type: string required: @@ -4501,7 +5626,7 @@ paths: enum: - countValues query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" relation: type: string required: @@ -4514,7 +5639,7 @@ paths: enum: - countValues query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" scorecard: type: string required: @@ -4527,7 +5652,7 @@ paths: enum: - countValues query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" rule: type: string scorecard: @@ -4543,7 +5668,123 @@ paths: - read:entities responses: "200": - description: Default Response + description: Retrieved successfully (this response can be compressed). + content: + application/json: + schema: + description: Retrieved successfully (this response can be compressed). + type: object + properties: + ok: + enum: + - true + matchingBlueprints: + type: array + items: + type: string + entities: + type: array + items: + type: object + properties: + identifier: + oneOf: + - type: + - string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: object + properties: + combinator: + enum: + - and + - or + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + value: + anyOf: + - type: string + - type: number + - type: "null" + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - in + value: + type: array + items: + type: string + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + property: + type: string + operator: + enum: + - contains + value: + type: string + additionalProperties: false + required: + - property + - operator + - value + - $ref: "#/components/schemas/def-5" + required: + - combinator + - rules + additionalProperties: false + title: + type: string + icon: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + - $ref: "#/components/schemas/def-6" + properties: + type: object + default: {} + relations: + type: object + additionalProperties: + anyOf: + - type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: array + items: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + - type: "null" + - $ref: "#/components/schemas/def-6" + additionalProperties: false + required: + - entities + - ok + additionalProperties: false /v1/entities/properties-history: post: tags: @@ -5020,7 +6261,29 @@ paths: - read:entities responses: "200": - description: Default Response + description: Retrieved successfully. + content: + application/json: + schema: + description: Retrieved successfully. + properties: + ok: + enum: + - true + result: + type: object + properties: + minDate: + type: number + maxDate: + type: number + data: + type: array + items: + type: number + required: + - ok + additionalProperties: false /v1/blueprints: get: tags: @@ -5030,7 +6293,572 @@ paths: - read:blueprints responses: "200": - description: Default Response + description: Retrieved successfully. + content: + application/json: + schema: + description: Retrieved successfully. + type: object + properties: + ok: + enum: + - true + blueprints: + type: array + items: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprints + - ok + additionalProperties: false post: tags: - Blueprints @@ -5060,6 +6888,29 @@ paths: additionalProperties: false required: - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type schema: type: object properties: @@ -5219,6 +7070,22 @@ paths: type: boolean colors: type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze items: type: object properties: @@ -5307,6 +7174,22 @@ paths: type: boolean colors: type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze items: type: object properties: @@ -5343,7 +7226,8 @@ paths: properties: path: type: string - pattern: ^(?:[A-Za-z0-9@_=\-]+\.)+?(\w|\$|@|-)*?[^\.]+$ + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example title: type: string additionalProperties: false @@ -5457,7 +7341,7 @@ paths: - calculationBy - averageOf query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - title @@ -5530,125 +7414,185 @@ paths: - bearer: - create:blueprints responses: - "200": - description: Default Response - "/v1/blueprints/{identifier}": - get: - tags: - - Blueprints - parameters: - - schema: - type: string - in: path - name: identifier - required: true - security: - - bearer: - - read:blueprints - responses: - "200": - description: Default Response - put: - tags: - - Blueprints - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - maxLength: 30 - title: - type: string - maxLength: 30 - minLength: 1 - description: - type: string - icon: - type: string - teamInheritance: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - schema: - type: object - properties: + "201": + description: Created successfully. + content: + application/json: + schema: + description: Created successfully. + type: object + properties: + ok: + enum: + - true + blueprint: + type: object properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - title: - type: string - description: - type: string - icon: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: type: string - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - markdown - - yaml - - user - - blueprints - - team - - timer - - proto - spec: - enum: - - open-api - - embedded-url - - async-api - if: - properties: - spec: - enum: - - embedded-url - then: + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: properties: - specAuthentication: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: type: object properties: - clientId: + title: type: string - authorizationUrl: + description: type: string - format: url - tokenUrl: + icon: type: string - format: url - authorizationScope: - type: array - items: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: type: string - default: - - openid - additionalProperties: false + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false required: - - clientId - - authorizationUrl - - tokenUrl - else: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object properties: title: type: string @@ -5656,6 +7600,8 @@ paths: type: string icon: type: string + calculation: + type: string type: enum: - string @@ -5673,160 +7619,568 @@ paths: - markdown - yaml - user - - blueprints - team - - timer - proto spec: enum: - open-api - embedded-url - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string additionalProperties: false - required: - - type - required: - type: array - items: + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: type: string - additionalProperties: false - required: - - properties - calculationProperties: - type: object - default: {} - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + "/v1/blueprints/{identifier}": + get: + tags: + - Blueprints + parameters: + - schema: + type: string + in: path + name: identifier + required: true + security: + - bearer: + - read:blueprints + responses: + "200": + description: Retrieved successfully. + content: + application/json: + schema: + description: Retrieved successfully. + type: object + properties: + ok: + enum: + - true + blueprint: type: object properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 title: type: string + maxLength: 30 + minLength: 1 description: type: string icon: type: string - calculation: - type: string - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - markdown - - yaml - - user - - team - - proto - spec: - enum: - - open-api - - embedded-url - - async-api - colorized: - type: boolean - colors: - type: object - items: + teamInheritance: type: object properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - markdown - - yaml - - user - - team - - timer - - proto - if: - properties: - spec: - enum: - - embedded-url - then: - properties: - specAuthentication: - type: object - properties: - clientId: - type: string - authorizationUrl: - type: string - tokenUrl: - type: string - authorizationScope: - type: array - items: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: type: string - default: - - openid - additionalProperties: false + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type required: - - clientId - - authorizationUrl - - tokenUrl - else: - properties: - title: - type: string - description: - type: string - icon: - type: string - calculation: - type: string - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - markdown - - yaml - - user - - team - - proto - spec: - enum: - - open-api - - embedded-url - - async-api - colorized: - type: boolean - colors: - type: object - items: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: type: object properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string type: enum: - string @@ -5845,208 +8199,366 @@ paths: - yaml - user - team - - timer - proto - additionalProperties: false - required: - - calculation - - type - mirrorProperties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - path: - type: string - pattern: ^(?:[A-Za-z0-9@_=\-]+\.)+?(\w|\$|@|-)*?[^\.]+$ - title: - type: string - additionalProperties: false - required: - - path - aggregationProperties: - type: object - default: {} - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - title: - type: string - description: - type: string - icon: - type: string - type: - enum: - - number - default: number - target: - type: string - calculationSpec: - type: object - oneOf: - - oneOf: - - type: object - properties: - func: - enum: - - average - measureTimeBy: - type: string - averageOf: - type: string - enum: - - hour - - day - - week - - month - - total - calculationBy: - type: string - enum: - - entities - required: - - func - - calculationBy - - averageOf - - type: object - properties: - func: - enum: - - count - calculationBy: - type: string - enum: - - entities - required: - - func - - calculationBy - - oneOf: - - type: object + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object properties: - func: + clientId: type: string - enum: - - sum - - min - - max - - median - property: + authorizationUrl: type: string - calculationBy: + tokenUrl: type: string - enum: - - property + authorizationScope: + type: array + items: + type: string + default: + - openid additionalProperties: false required: - - func - - property - - calculationBy - - type: object + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object properties: - func: - enum: - - average - measureTimeBy: - type: string - averageOf: - type: string + type: enum: - - hour - - day - - week - - month - - total - property: - type: string - calculationBy: - type: string + - string + - number + - boolean + - object + - array + format: enum: - - property - additionalProperties: false - required: - - func - - property - - calculationBy - - averageOf - query: - $ref: "#/components/schemas/def-0" - additionalProperties: false - required: - - title - - target - - calculationSpec - relations: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - title: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: type: string - target: + createdBy: type: string - required: - type: boolean - default: false - many: - type: boolean - default: false - description: + createdAt: type: string - additionalProperties: false + format: date-time + updatedAt: + type: string + format: date-time required: - - target - - required - - many - changelogDestination: - oneOf: - - type: object - properties: - type: - type: string - enum: - - WEBHOOK - agent: - type: boolean - url: - type: string - format: uri - required: - - url - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - KAFKA - required: - - type - additionalProperties: false - additionalProperties: true - required: - - title - - schema - required: true - parameters: - - schema: - type: string - in: path - name: identifier - required: true - security: - - bearer: [] - responses: - "200": - description: Default Response - patch: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + put: tags: - Blueprints requestBody: @@ -6075,6 +8587,29 @@ paths: additionalProperties: false required: - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type schema: type: object properties: @@ -6117,6 +8652,72 @@ paths: - open-api - embedded-url - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type required: type: array items: @@ -6168,6 +8769,22 @@ paths: type: boolean colors: type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze items: type: object properties: @@ -6256,6 +8873,22 @@ paths: type: boolean colors: type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze items: type: object properties: @@ -6292,7 +8925,8 @@ paths: properties: path: type: string - pattern: ^(?:[A-Za-z0-9@_=\-]+\.)+?(\w|\$|@|-)*?[^\.]+$ + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example title: type: string additionalProperties: false @@ -6406,7 +9040,7 @@ paths: - calculationBy - averageOf query: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - title @@ -6463,6 +9097,10 @@ paths: - type additionalProperties: false additionalProperties: true + required: + - title + - schema + required: true parameters: - schema: type: string @@ -6473,5189 +9111,3155 @@ paths: - bearer: [] responses: "200": - description: Default Response - delete: - tags: - - Blueprints - parameters: - - schema: - type: boolean - in: query - name: delete_actions - required: false - - schema: - type: string - in: path - name: identifier - required: true - security: - - bearer: [] - responses: - "200": - description: Deleted successfully. + description: Updated successfully. content: application/json: schema: - description: Deleted successfully. + description: Updated successfully. type: object properties: ok: enum: - true - additionalProperties: false - required: - - ok - "/v1/blueprints/{identifier}/properties/{property_name}/rename": - patch: - tags: - - Blueprints - requestBody: - content: - application/json: - schema: - type: object - properties: - newPropertyName: - type: string - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: false - parameters: - - schema: - type: string - in: path - name: identifier - required: true - - schema: - type: string - in: path - name: property_name - required: true - security: - - bearer: [] - responses: - "200": - description: Default Response - "/v1/blueprints/{identifier}/mirror/{mirror_name}/rename": - patch: - tags: - - Blueprints - requestBody: - content: - application/json: - schema: - type: object - properties: - newMirrorName: - type: string - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: false - parameters: - - schema: - type: string - in: path - name: identifier - required: true - - schema: - type: string - in: path - name: mirror_name - required: true - security: - - bearer: [] - responses: - "200": - description: Default Response - "/v1/blueprints/{identifier}/relations/{relation_identifier}/rename": - patch: - tags: - - Blueprints - requestBody: - content: - application/json: - schema: - type: object - properties: - newRelationIdentifier: - type: string - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: false - parameters: - - schema: - type: string - minLength: 1 - in: path - name: identifier - required: true - - schema: - type: string - minLength: 1 - in: path - name: relation_identifier - required: true - security: - - bearer: [] - responses: - "200": - description: Default Response - /v1/blueprints/system/user-and-team: - post: - tags: - - Blueprints - security: - - bearer: - - create:blueprints - responses: - "200": - description: Default Response - /v1/actions: - post: - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - title: - type: string - icon: - type: string - description: - type: string - trigger: - oneOf: - - type: object - properties: - operation: - type: string - enum: - - DAY-2 - - DELETE - type: - type: string - enum: - - self-service - blueprintIdentifier: - type: string - userInputs: - oneOf: - - type: object + blueprint: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: type: object properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + clientId: type: string - dependsOn: + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: type: array items: type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order + default: + - openid + additionalProperties: false required: - - type + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false required: - oneOf: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf - type: object properties: - jqQuery: + func: + enum: + - count + calculationBy: type: string + enum: + - entities required: - - jqQuery + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property additionalProperties: false - - type: array - items: - type: string - required: - - properties - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: + averageOf: type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - order: - type: array - items: - type: string - required: - - properties - - order - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: + enum: + - hour + - day + - week + - month + - total + property: type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: + calculationBy: type: string - required: - - jqQuery + enum: + - property additionalProperties: false - - type: array - items: - type: string - steps: - type: array - items: - type: object - properties: - title: - type: string - order: - type: array - items: - type: string - required: - - title - additionalProperties: false - required: - - properties - - steps - additionalProperties: false - condition: - type: object + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object properties: - type: + title: type: string - enum: - - SEARCH - rules: - type: array - items: - anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - type: string - - type: array - items: - type: string - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - required: - - operator - - propertySchema - additionalProperties: false - - $ref: "#/components/schemas/def-0" - combinator: + target: type: string - enum: - - and - - or + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false required: - - type - - rules - - combinator - dependencies: - condition: - - blueprintIdentifier - required: - - type - - userInputs - - operation - additionalProperties: false + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + patch: + tags: + - Blueprints + requestBody: + content: + application/json: + schema: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: - type: object properties: - operation: + type: type: string enum: - - CREATE + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: type: type: string enum: - - self-service - blueprintIdentifier: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: type: string - userInputs: - oneOf: - - type: object - properties: + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - required: - - properties - additionalProperties: false - - type: object - properties: + - func + - calculationBy + - averageOf + - type: object properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - order: - type: array - items: + func: + enum: + - count + calculationBy: type: string - required: - - properties - - order - additionalProperties: false - - type: object - properties: + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - steps: - type: array - items: - type: object - properties: - title: - type: string - order: - type: array - items: - type: string - required: - - title - additionalProperties: false - required: - - properties - - steps - additionalProperties: false - required: - - type - - userInputs - - operation - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - automation - event: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ENTITY_CREATED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ENTITY_UPDATED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ENTITY_DELETED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - TIMER_PROPERTY_EXPIRED - blueprintIdentifier: - type: string - propertyIdentifier: - type: string - required: - - type - - blueprintIdentifier - - propertyIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ANY_ENTITY_CHANGE - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - RUN_CREATED - actionIdentifier: - type: string - required: - - type - - actionIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - RUN_UPDATED - actionIdentifier: - type: string - required: - - type - - actionIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ANY_RUN_CHANGE - actionIdentifier: - type: string - required: - - type - - actionIdentifier - additionalProperties: false - condition: - oneOf: - - type: object - properties: - type: - type: string - enum: - - JQ - expressions: - type: array - items: - type: string - combinator: - type: string - enum: - - and - - or - required: - - type - - expressions - additionalProperties: false - required: - - type - - event - additionalProperties: false - invocationMethod: - oneOf: - - type: object - properties: - type: - type: string - enum: - - KAFKA - payload: - oneOf: - - type: array - - type: object - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - WEBHOOK - url: - type: string - agent: - oneOf: - - type: boolean - - type: string - synchronized: - oneOf: - - type: boolean - - type: string - method: - type: string - headers: - type: object - additionalProperties: - type: string - body: - oneOf: - - type: array - - type: object - required: - - type - - url - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITHUB - org: - type: string - repo: - type: string - workflow: - type: string - workflowInputs: - type: object - reportWorkflowStatus: - oneOf: - - type: boolean - - type: string - required: - - type - - org - - repo - - workflow - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITLAB - projectName: - type: string - groupName: - type: string - defaultRef: - type: string - pipelineVariables: - type: object - required: - - type - - projectName - - groupName - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - AZURE_DEVOPS - webhook: - type: string - org: - type: string - payload: - oneOf: - - type: array - - type: object - required: - - type - - webhook - - org - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - UPSERT_ENTITY - blueprintIdentifier: - type: string - mapping: - type: object - properties: - identifier: - type: string - title: - type: string - team: - oneOf: - - type: string - - type: array - items: + func: type: string - icon: - type: string - properties: - type: object - relations: - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: "null" - required: [] - required: - - type - - blueprintIdentifier - - mapping - additionalProperties: false - requiredApproval: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ANY - - ALL - required: - - type - additionalProperties: false - - type: boolean - approvalNotification: - type: object - properties: - type: - type: string - enum: - - webhook - - email - default: email - oneOf: - - type: object - properties: - type: - type: string - enum: - - webhook - format: - type: string - enum: - - json - - slack - url: - type: string - format: uri - required: - - type - - url - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - email - required: - - type - additionalProperties: false - required: - - type - publish: - type: boolean - additionalProperties: false - required: - - identifier - - trigger - - invocationMethod - required: true - security: - - bearer: - - create:actions - responses: - "200": - description: Default Response - get: - tags: - - Actions - parameters: - - schema: - type: array - items: - type: string - in: query - name: action_identifier - required: false - - schema: - type: array - items: - type: string - in: query - name: blueprint_identifier - required: false - - schema: - type: array - items: - type: string - enum: - - DAY-2 - - DELETE - - CREATE - in: query - name: operation - required: false - - schema: - type: boolean - in: query - name: published - required: false - - schema: - type: string - enum: - - self-service - - automation - in: query - name: trigger_type - required: false - - schema: - type: array - items: - type: string - enum: - - ENTITY_CREATED - - ENTITY_UPDATED - - ENTITY_DELETED - - TIMER_PROPERTY_EXPIRED - - ANY_ENTITY_CHANGE - - RUN_CREATED - - RUN_UPDATED - - ANY_RUN_CHANGE - in: query - name: trigger_event - required: false - - schema: - type: array - items: - type: string - in: query - name: trigger_event_action_identifier - required: false - - schema: - type: string - enum: - - v1 - - v2 - in: query - name: version - required: false - security: - - bearer: - - read:actions - responses: - "200": - description: Default Response - "/v1/actions/{action_identifier}": - put: - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - title: - type: string - icon: - type: string - description: - type: string - trigger: - oneOf: - - type: object - properties: - operation: - type: string - enum: - - DAY-2 - - DELETE - type: - type: string - enum: - - self-service - blueprintIdentifier: - type: string - userInputs: - oneOf: - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - required: - - properties - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - order: - type: array - items: - type: string - required: - - properties - - order - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - steps: - type: array - items: - type: object - properties: - title: - type: string - order: - type: array - items: - type: string - required: - - title - additionalProperties: false - required: - - properties - - steps - additionalProperties: false - condition: - type: object - additionalProperties: false - properties: - type: - type: string - enum: - - SEARCH - rules: - type: array - items: - anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - type: string - - type: array - items: - type: string - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - required: - - operator - - propertySchema - additionalProperties: false - - $ref: "#/components/schemas/def-0" - combinator: - type: string - enum: - - and - - or - required: - - type - - rules - - combinator - dependencies: - condition: - - blueprintIdentifier - required: - - type - - userInputs - - operation - additionalProperties: false - - type: object - properties: - operation: - type: string - enum: - - CREATE - type: - type: string - enum: - - self-service - blueprintIdentifier: - type: string - userInputs: - oneOf: - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - required: - - properties - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - order: - type: array - items: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: type: string - required: - - properties - - order - additionalProperties: false - - type: object + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + additionalProperties: true + parameters: + - schema: + type: string + in: path + name: identifier + required: true + security: + - bearer: [] + responses: + "200": + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + blueprint: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: type: object properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + clientId: type: string - dependsOn: + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: type: array items: type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order + default: + - openid + additionalProperties: false required: - - type + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false required: - oneOf: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf - type: object properties: - jqQuery: + func: + enum: + - count + calculationBy: type: string + enum: + - entities required: - - jqQuery + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property additionalProperties: false - - type: array - items: - type: string - steps: - type: array - items: - type: object - properties: - title: - type: string - order: - type: array - items: + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: type: string - required: - - title - additionalProperties: false - required: - - properties - - steps - additionalProperties: false - required: - - type - - userInputs - - operation - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - automation - event: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ENTITY_CREATED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ENTITY_UPDATED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ENTITY_DELETED - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + delete: + tags: + - Blueprints + parameters: + - schema: + type: boolean + in: query + name: delete_actions + required: false + - schema: + type: string + in: path + name: identifier + required: true + security: + - bearer: [] + responses: + "200": + description: Deleted successfully. + content: + application/json: + schema: + description: Deleted successfully. + properties: + ok: + enum: + - true + required: + - ok + additionalProperties: false + "/v1/blueprints/{identifier}/properties/{property_name}/rename": + patch: + tags: + - Blueprints + requestBody: + content: + application/json: + schema: + type: object + properties: + newPropertyName: + type: string + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: false + parameters: + - schema: + type: string + in: path + name: identifier + required: true + - schema: + type: string + in: path + name: property_name + required: true + security: + - bearer: [] + responses: + "200": + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + blueprint: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object properties: - type: + title: type: string - enum: - - TIMER_PROPERTY_EXPIRED - blueprintIdentifier: + description: type: string - propertyIdentifier: + icon: type: string - required: - - type - - blueprintIdentifier - - propertyIdentifier - additionalProperties: false - - type: object - properties: type: - type: string enum: - - ANY_ENTITY_CHANGE - blueprintIdentifier: - type: string - required: - - type - - blueprintIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string + - string + - number + - boolean + - object + - array + format: enum: - - RUN_CREATED - actionIdentifier: - type: string - required: - - type - - actionIdentifier - additionalProperties: false - - type: object - properties: - type: - type: string + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: enum: - - RUN_UPDATED - actionIdentifier: - type: string + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false required: - type - - actionIdentifier - additionalProperties: false - - type: object + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object properties: type: - type: string enum: - - ANY_RUN_CHANGE - actionIdentifier: - type: string - required: - - type - - actionIdentifier - additionalProperties: false - condition: - oneOf: - - type: object - properties: - type: - type: string + - string + - number + - boolean + - object + - array + format: enum: - - JQ - expressions: - type: array - items: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: type: string - combinator: - type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: enum: - - and - - or - required: - - type - - expressions - additionalProperties: false - required: - - type - - event - additionalProperties: false - invocationMethod: - oneOf: - - type: object - properties: - type: - type: string - enum: - - KAFKA - payload: - oneOf: - - type: array - - type: object - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - WEBHOOK - url: - type: string - agent: - oneOf: - - type: boolean - - type: string - synchronized: - oneOf: - - type: boolean - - type: string - method: - type: string - headers: - type: object - additionalProperties: - type: string - body: - oneOf: - - type: array - - type: object - required: - - type - - url - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITHUB - org: - type: string - repo: - type: string - workflow: - type: string - workflowInputs: - type: object - reportWorkflowStatus: - oneOf: - - type: boolean - - type: string - required: - - type - - org - - repo - - workflow - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITLAB - projectName: - type: string - groupName: - type: string - defaultRef: - type: string - pipelineVariables: - type: object - required: - - type - - projectName - - groupName - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - AZURE_DEVOPS - webhook: - type: string - org: - type: string - payload: - oneOf: - - type: array - - type: object - required: - - type - - webhook - - org - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - UPSERT_ENTITY - blueprintIdentifier: - type: string - mapping: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: type: object properties: - identifier: + path: type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example title: type: string - team: - oneOf: - - type: string - - type: array - items: - type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string icon: type: string - properties: - type: object - relations: + type: + enum: + - number + default: number + target: + type: string + calculationSpec: type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: "null" - required: [] - required: - - type - - blueprintIdentifier - - mapping - additionalProperties: false - requiredApproval: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ANY - - ALL - required: - - type - additionalProperties: false - - type: boolean - approvalNotification: - type: object - properties: - type: - type: string - enum: - - webhook - - email - default: email - oneOf: - - type: object - properties: - type: - type: string - enum: - - webhook - format: - type: string - enum: - - json - - slack - url: - type: string - format: uri - required: - - type - - url - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - email - required: - - type - additionalProperties: false - required: - - type - publish: - type: boolean - additionalProperties: false - required: - - identifier - - trigger - - invocationMethod - required: true - parameters: - - schema: - type: string - minLength: 1 - in: path - name: action_identifier - required: true - security: - - bearer: - - update:actions - responses: - "200": - description: Default Response - get: + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + "/v1/blueprints/{identifier}/mirror/{mirror_name}/rename": + patch: tags: - - Actions + - Blueprints + requestBody: + content: + application/json: + schema: + type: object + properties: + newMirrorName: + type: string + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: false parameters: - schema: type: string - minLength: 1 in: path - name: action_identifier + name: identifier required: true - security: - - bearer: - - read:actions - responses: - "200": - description: Default Response - delete: - tags: - - Actions - parameters: - schema: type: string - minLength: 1 in: path - name: action_identifier + name: mirror_name required: true security: - - bearer: - - delete:actions + - bearer: [] responses: "200": - description: Default Response - "/v1/blueprints/{blueprint_identifier}/actions": - post: - summary: To be deprecated - the route will be removed on November 20th - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - title: - type: string - icon: - type: string - description: - type: string - trigger: - type: string - enum: - - CREATE - - DELETE - - DAY-2 - requiredApproval: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ANY - - ALL - required: - - type - additionalProperties: false - - type: boolean - invocationMethod: - oneOf: - - type: object - properties: - type: - type: string - enum: - - GITHUB - org: - type: string - repo: - type: string - workflow: - type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean - reportWorkflowStatus: - type: boolean - required: - - type - - org - - repo - - workflow - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITLAB - projectName: - type: string - groupName: - type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean - defaultRef: - type: string - agent: - enum: - - true - required: - - type - - projectName - - groupName - - agent - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - AZURE-DEVOPS - webhook: - type: string - org: - type: string - required: - - type - - org - - webhook - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - WEBHOOK - agent: - type: boolean - url: - type: string - format: uri - synchronized: - type: boolean - method: - type: string - enum: - - POST - - DELETE - - PATCH - - PUT - required: - - url - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - KAFKA - required: - - type - additionalProperties: false - userInputs: - oneOf: - - type: object - properties: + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + blueprint: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + "/v1/blueprints/{identifier}/relations/{relation_identifier}/rename": + patch: + tags: + - Blueprints + requestBody: + content: + application/json: + schema: + type: object + properties: + newRelationIdentifier: + type: string + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: false + parameters: + - schema: + type: string + minLength: 1 + in: path + name: identifier + required: true + - schema: + type: string + minLength: 1 + in: path + name: relation_identifier + required: true + security: + - bearer: [] + responses: + "200": + description: Updated successfully. + content: + application/json: + schema: + description: Updated successfully. + type: object + properties: + ok: + enum: + - true + blueprint: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false + required: + - type + required: + type: array + items: + type: string + additionalProperties: false + required: + - properties + calculationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string type: enum: - string @@ -11670,284 +12274,463 @@ paths: - email - ipv4 - ipv6 + - markdown - yaml - - entity - user - team - proto - - markdown - blueprint: + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false + required: + - calculation + - type + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: + type: string + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: + type: object + default: {} + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - number + default: number + target: + type: string + calculationSpec: + type: object + oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: + enum: + - WEBHOOK + agent: + type: boolean + url: type: string - dataset: + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprint + - ok + additionalProperties: false + /v1/blueprints/system/user-and-team: + post: + tags: + - Blueprints + security: + - bearer: + - create:blueprints + responses: + "202": + description: Accepted successfuly. + content: + application/json: + schema: + description: Accepted successfuly. + type: object + properties: + ok: + enum: + - true + blueprints: + type: array + items: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + maxLength: 30 + title: + type: string + maxLength: 30 + minLength: 1 + description: + type: string + icon: + type: string + teamInheritance: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + ownership: + anyOf: + - type: object + properties: + type: + type: string + enum: + - Inherited + path: + type: string + additionalProperties: false + required: + - type + - path + - type: object + properties: + type: + type: string + enum: + - Direct + additionalProperties: false + required: + - type + schema: + type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: type: object properties: - combinator: + title: type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: + description: type: string - order: + icon: type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: enum: - - ASC - - DESC + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + format: url + tokenUrl: + type: string + format: url + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - blueprints + - team + - timer + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + additionalProperties: false required: - - property - - order + - type required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array + type: array items: type: string - required: - - properties - additionalProperties: false - - type: object - properties: - properties: + additionalProperties: false + required: + - properties + calculationProperties: type: object + default: {} propertyNames: pattern: ^[A-Za-z0-9@_=\\-]+$ additionalProperties: type: object properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string type: enum: - string @@ -11962,1804 +12745,1245 @@ paths: - email - ipv4 - ipv6 + - markdown - yaml - - entity - user - team - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: + additionalProperties: + enum: + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: type: object properties: - property: - type: string - order: - type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + if: + properties: + spec: + enum: + - embedded-url + then: + properties: + specAuthentication: + type: object + properties: + clientId: + type: string + authorizationUrl: + type: string + tokenUrl: + type: string + authorizationScope: + type: array + items: + type: string + default: + - openid + additionalProperties: false + required: + - clientId + - authorizationUrl + - tokenUrl + else: + properties: + title: + type: string + description: + type: string + icon: + type: string + calculation: + type: string + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - proto + spec: + enum: + - open-api + - embedded-url + - async-api + colorized: + type: boolean + colors: + type: object + additionalProperties: enum: - - ASC - - DESC - required: - - property - - order + - blue + - turquoise + - orange + - purple + - pink + - yellow + - green + - red + - gold + - silver + - paleBlue + - darkGray + - lightGray + - bronze + items: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - markdown + - yaml + - user + - team + - timer + - proto + additionalProperties: false required: + - calculation - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: + mirrorProperties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + path: type: string - order: - type: array - items: - type: string - required: - - properties - - order - additionalProperties: false - - type: object - properties: - properties: + pattern: ^(?:[A-Za-z0-9@_=\-$]+\.)+?(\w|\$|@|-)*?[^\.]+$ + default: path.example + title: + type: string + additionalProperties: false + required: + - path + aggregationProperties: type: object + default: {} propertyNames: pattern: ^[A-Za-z0-9@_=\\-]+$ additionalProperties: type: object properties: + title: + type: string + description: + type: string + icon: + type: string type: enum: - - string - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + default: number + target: type: string - dependsOn: - type: array - items: - type: string - visible: + calculationSpec: + type: object oneOf: + - oneOf: + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - averageOf + - type: object + properties: + func: + enum: + - count + calculationBy: + type: string + enum: + - entities + required: + - func + - calculationBy + - oneOf: + - type: object + properties: + func: + type: string + enum: + - sum + - min + - max + - median + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - type: object + properties: + func: + enum: + - average + measureTimeBy: + type: string + averageOf: + type: string + enum: + - hour + - day + - week + - month + - total + property: + type: string + calculationBy: + type: string + enum: + - property + additionalProperties: false + required: + - func + - property + - calculationBy + - averageOf + query: + $ref: "#/components/schemas/def-1" + additionalProperties: false + required: + - title + - target + - calculationSpec + relations: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + title: + type: string + target: + type: string + required: + type: boolean + default: false + many: + type: boolean + default: false + description: + type: string + additionalProperties: false + required: + - target + - required + - many + changelogDestination: + oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + agent: + type: boolean + url: + type: string + format: uri + required: + - url + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - KAFKA + required: + - type + additionalProperties: false + updatedBy: + type: string + createdBy: + type: string + createdAt: + type: string + format: date-time + updatedAt: + type: string + format: date-time + required: + - identifier + - title + - schema + - createdBy + - updatedBy + - createdAt + - updatedAt + required: + - blueprints + - ok + additionalProperties: false + /v1/actions: + post: + tags: + - Actions + requestBody: + content: + application/json: + schema: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + title: + type: string + icon: + type: string + description: + type: string + trigger: + oneOf: + - type: object + properties: + operation: + type: string + enum: + - DAY-2 + - DELETE + type: + type: string + enum: + - self-service + blueprintIdentifier: + type: string + userInputs: + oneOf: + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + required: + - properties + additionalProperties: false + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + order: + type: array + items: + type: string + required: + - properties + - order + additionalProperties: false + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + steps: + type: array + items: + type: object + properties: + title: + type: string + order: + type: array + items: + type: string + required: + - title + additionalProperties: false + required: + - properties + - steps + additionalProperties: false + condition: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - SEARCH + rules: + type: array + items: + anyOf: + - type: object + properties: + property: + type: string + operator: + enum: + - between + - notBetween + - = + value: + type: object + oneOf: + - type: object + properties: + from: + type: string + format: date-time + to: + type: string + format: date-time + required: + - from + - to + - type: object + properties: + preset: + type: string + enum: + - today + - tomorrow + - yesterday + - lastWeek + - last2Weeks + - lastMonth + - last3Months + - last6Months + - last12Months + required: + - preset + required: + - property + - operator + - value + additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: - jqQuery: + property: type: string + operator: + enum: + - ">" + - ">=" + - < + - <= + value: + anyOf: + - type: number + - type: string + format: date-time required: - - jqQuery + - property + - operator + - value additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + operator: + enum: + - relatedTo + blueprint: + type: string + value: + anyOf: + - type: string + - type: array + items: type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream + direction: + enum: + - upstream + - downstream + required: + type: boolean + additionalProperties: false + required: + - operator + - value + - blueprint + - type: object + properties: + propertySchema: + type: object + properties: + type: + type: string + format: + type: string + items: + type: object + properties: + type: + type: string + format: + type: string required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false + - type + required: + - type + additionalProperties: false + operator: + enum: + - = + - "!=" + - contains + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + required: + - operator + - propertySchema + additionalProperties: false + - $ref: "#/components/schemas/def-1" + combinator: + type: string + enum: + - and + - or + required: + - type + - rules + - combinator + dependencies: + condition: + - blueprintIdentifier + required: + - type + - userInputs + - operation + additionalProperties: false + - type: object + properties: + operation: + type: string + enum: + - CREATE + type: + type: string + enum: + - self-service + blueprintIdentifier: + type: string + userInputs: + oneOf: + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type required: - - combinator - - rules - sort: - type: object + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + required: + - properties + additionalProperties: false + - type: object + properties: properties: - property: - type: string - order: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + order: + type: array + items: type: string - enum: - - ASC - - DESC + required: + - properties + - order + additionalProperties: false + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type required: - - property - - order - required: - - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + steps: + type: array + items: + type: object + properties: + title: + type: string + order: + type: array + items: + type: string + required: + - title + additionalProperties: false required: - - jqQuery + - properties + - steps additionalProperties: false - - type: array - items: - type: string - steps: - type: array - items: - type: object - properties: - title: - type: string - order: - type: array - items: - type: string - required: - - title - additionalProperties: false - required: - - properties - - steps - additionalProperties: false - approvalNotification: - type: object - properties: - type: - type: string - enum: - - webhook - - email - default: email - oneOf: - - type: object - properties: - type: - type: string - enum: - - webhook - format: - type: string - enum: - - json - - slack - url: - type: string - format: uri required: - type - - url + - userInputs + - operation additionalProperties: false - type: object properties: type: type: string enum: - - email - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - identifier - - userInputs - - trigger - - invocationMethod - required: true - parameters: - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - deprecated: true - security: - - bearer: - - create:actions - responses: - "200": - description: Default Response - put: - summary: To be deprecated - the route will be removed on November 20th - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - title: - type: string - icon: - type: string - description: - type: string - trigger: - type: string - enum: - - CREATE - - DELETE - - DAY-2 - requiredApproval: - oneOf: - - type: object - properties: - type: - type: string - enum: - - ANY - - ALL - required: - - type - additionalProperties: false - - type: boolean - invocationMethod: - oneOf: - - type: object - properties: - type: - type: string - enum: - - GITHUB - org: - type: string - repo: - type: string - workflow: - type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean - reportWorkflowStatus: - type: boolean - required: - - type - - org - - repo - - workflow - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - GITLAB - projectName: - type: string - groupName: - type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean - defaultRef: - type: string - agent: - enum: - - true - required: - - type - - projectName - - groupName - - agent - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - AZURE-DEVOPS - webhook: - type: string - org: - type: string - required: - - type - - org - - webhook - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - WEBHOOK - agent: - type: boolean - url: - type: string - format: uri - synchronized: - type: boolean - method: - type: string - enum: - - POST - - DELETE - - PATCH - - PUT - required: - - url - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - KAFKA - required: - - type - additionalProperties: false - userInputs: - oneOf: - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object + - automation + event: + oneOf: + - type: object properties: type: + type: string enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + - ENTITY_CREATED + blueprintIdentifier: type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ENTITY_UPDATED + blueprintIdentifier: type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order required: - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: type: string - required: - - properties - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object + enum: + - ENTITY_DELETED + blueprintIdentifier: + type: string + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object properties: type: + type: string enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + - TIMER_PROPERTY_EXPIRED + blueprintIdentifier: type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: + propertyIdentifier: type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order required: - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: - type: string - order: - type: array - items: - type: string - required: - - properties - - order - additionalProperties: false - - type: object - properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object + - blueprintIdentifier + - propertyIdentifier + additionalProperties: false + - type: object properties: type: + type: string enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: + - ANY_ENTITY_CHANGE + blueprintIdentifier: type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - RUN_CREATED + actionIdentifier: + type: string + required: + - type + - actionIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - RUN_UPDATED + actionIdentifier: type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order required: - type - required: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: array - items: + - actionIdentifier + additionalProperties: false + - type: object + properties: + type: type: string - steps: - type: array - items: - type: object + enum: + - ANY_RUN_CHANGE + actionIdentifier: + type: string + required: + - type + - actionIdentifier + additionalProperties: false + condition: + oneOf: + - type: object properties: - title: + type: type: string - order: + enum: + - JQ + expressions: type: array items: type: string + combinator: + type: string + enum: + - and + - or required: - - title + - type + - expressions additionalProperties: false - required: - - properties - - steps - additionalProperties: false - approvalNotification: - type: object - properties: - type: - type: string - enum: - - webhook - - email - default: email - oneOf: - - type: object - properties: - type: - type: string - enum: - - webhook - format: - type: string - enum: - - json - - slack - url: - type: string - format: uri - required: - - type - - url - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - email - required: - - type - additionalProperties: false - required: - - type - id: - type: string - additionalProperties: false - required: - - identifier - - userInputs - - trigger - - invocationMethod - parameters: - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - deprecated: true - security: - - bearer: - - update:actions - responses: - "200": - description: Default Response - get: - summary: To be deprecated - the route will be removed on November 20th - tags: - - Actions - parameters: - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - deprecated: true - security: - - bearer: - - read:actions - responses: - "200": - description: Default Response - "/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}": - put: - summary: To be deprecated - the route will be removed on November 20th - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ - title: - type: string - icon: - type: string - description: - type: string - trigger: - type: string - enum: - - CREATE - - DELETE - - DAY-2 - requiredApproval: + required: + - type + - event + additionalProperties: false + invocationMethod: oneOf: - type: object properties: type: type: string enum: - - ANY - - ALL + - KAFKA + payload: + oneOf: + - type: array + - type: object required: - type additionalProperties: false - - type: boolean - invocationMethod: - oneOf: + - type: object + properties: + type: + type: string + enum: + - WEBHOOK + url: + type: string + agent: + oneOf: + - type: boolean + - type: string + synchronized: + oneOf: + - type: boolean + - type: string + method: + type: string + headers: + type: object + additionalProperties: + type: string + body: + oneOf: + - type: array + - type: object + required: + - type + - url + additionalProperties: false - type: object properties: type: @@ -13772,12 +13996,12 @@ paths: type: string workflow: type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean + workflowInputs: + type: object reportWorkflowStatus: - type: boolean + oneOf: + - type: boolean + - type: string required: - type - org @@ -13794,967 +14018,1210 @@ paths: type: string groupName: type: string - omitPayload: - type: boolean - omitUserInputs: - type: boolean defaultRef: type: string - agent: - enum: - - true + pipelineVariables: + type: object required: - type - projectName - groupName - - agent additionalProperties: false - type: object properties: type: type: string enum: - - AZURE-DEVOPS + - AZURE_DEVOPS webhook: type: string org: type: string + payload: + oneOf: + - type: array + - type: object required: - type - - org - webhook + - org additionalProperties: false - type: object properties: type: type: string enum: - - WEBHOOK - agent: - type: boolean - url: + - UPSERT_ENTITY + blueprintIdentifier: type: string - format: uri - synchronized: - type: boolean - method: + mapping: + type: object + properties: + identifier: + type: string + title: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + icon: + type: string + properties: + type: object + relations: + type: object + additionalProperties: + oneOf: + - type: string + - type: array + items: + type: string + - type: "null" + required: [] + required: + - type + - blueprintIdentifier + - mapping + additionalProperties: false + requiredApproval: + oneOf: + - type: object + properties: + type: type: string enum: - - POST - - DELETE - - PATCH - - PUT + - ANY + - ALL required: - - url - type additionalProperties: false + - type: boolean + approvalNotification: + type: object + properties: + type: + type: string + enum: + - webhook + - email + default: email + oneOf: - type: object properties: type: type: string enum: - - KAFKA + - webhook + format: + type: string + enum: + - json + - slack + url: + type: string + format: uri + required: + - type + - url + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - email required: - type additionalProperties: false - userInputs: + required: + - type + publish: + type: boolean + additionalProperties: false + required: + - identifier + - trigger + - invocationMethod + required: true + security: + - bearer: + - create:actions + responses: + "200": + description: Default Response + get: + tags: + - Actions + parameters: + - schema: + type: array + items: + type: string + in: query + name: action_identifier + required: false + - schema: + type: array + items: + type: string + in: query + name: blueprint_identifier + required: false + - schema: + type: array + items: + type: string + enum: + - DAY-2 + - DELETE + - CREATE + in: query + name: operation + required: false + - schema: + type: boolean + in: query + name: published + required: false + - schema: + type: string + enum: + - self-service + - automation + in: query + name: trigger_type + required: false + - schema: + type: array + items: + type: string + enum: + - ENTITY_CREATED + - ENTITY_UPDATED + - ENTITY_DELETED + - TIMER_PROPERTY_EXPIRED + - ANY_ENTITY_CHANGE + - RUN_CREATED + - RUN_UPDATED + - ANY_RUN_CHANGE + in: query + name: trigger_event + required: false + - schema: + type: array + items: + type: string + in: query + name: trigger_event_action_identifier + required: false + - schema: + type: string + enum: + - v1 + - v2 + in: query + name: version + required: false + security: + - bearer: + - read:actions + responses: + "200": + description: Default Response + "/v1/actions/{action_identifier}": + put: + tags: + - Actions + requestBody: + content: + application/json: + schema: + type: object + properties: + identifier: + type: string + pattern: ^[A-Za-z0-9@_.+:\\/=-]+$ + title: + type: string + icon: + type: string + description: + type: string + trigger: oneOf: - type: object properties: - properties: + operation: + type: string + enum: + - DAY-2 + - DELETE + type: + type: string + enum: + - self-service + blueprintIdentifier: + type: string + userInputs: + oneOf: + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + required: + - properties + additionalProperties: false + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + order: + type: array + items: + type: string + required: + - properties + - order + additionalProperties: false + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + steps: + type: array + items: + type: object + properties: + title: + type: string + order: + type: array + items: + type: string + required: + - title + additionalProperties: false + required: + - properties + - steps + additionalProperties: false + condition: type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: + additionalProperties: false + properties: + type: + type: string + enum: + - SEARCH + rules: + type: array + items: + anyOf: - type: object properties: - jqQuery: + property: type: string + operator: + enum: + - between + - notBetween + - = + value: + type: object + oneOf: + - type: object + properties: + from: + type: string + format: date-time + to: + type: string + format: date-time + required: + - from + - to + - type: object + properties: + preset: + type: string + enum: + - today + - tomorrow + - yesterday + - lastWeek + - last2Weeks + - lastMonth + - last3Months + - last6Months + - last12Months + required: + - preset required: - - jqQuery + - property + - operator + - value additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false + - type: object + properties: + property: + type: string + operator: + enum: + - ">" + - ">=" + - < + - <= + value: + anyOf: + - type: number + - type: string + format: date-time + required: + - property + - operator + - value + additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value + - type: object + properties: + operator: + enum: + - relatedTo + blueprint: + type: string + value: + anyOf: + - type: string + - type: array + items: type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream + direction: + enum: + - upstream + - downstream + required: + type: boolean + additionalProperties: false + required: + - operator + - value + - blueprint + - type: object + properties: + propertySchema: + type: object + properties: + type: + type: string + format: + type: string + items: + type: object + properties: + type: + type: string + format: + type: string required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false + - type + required: + - type + additionalProperties: false + operator: + enum: + - = + - "!=" + - contains + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + required: + - operator + - propertySchema + additionalProperties: false + - $ref: "#/components/schemas/def-1" + combinator: + type: string + enum: + - and + - or + required: + - type + - rules + - combinator + dependencies: + condition: + - blueprintIdentifier + required: + - type + - userInputs + - operation + additionalProperties: false + - type: object + properties: + operation: + type: string + enum: + - CREATE + type: + type: string + enum: + - self-service + blueprintIdentifier: + type: string + userInputs: + oneOf: + - type: object + properties: + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type required: - - combinator - - rules - sort: - type: object + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + required: + - properties + additionalProperties: false + - type: object + properties: properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type required: - - property - - order - required: - - type - required: - oneOf: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + order: + type: array + items: + type: string + required: + - properties + - order + additionalProperties: false - type: object properties: - jqQuery: - type: string + properties: + type: object + propertyNames: + pattern: ^[A-Za-z0-9@_=\\-]+$ + additionalProperties: + type: object + properties: + type: + enum: + - string + - number + - boolean + - object + - array + format: + enum: + - date-time + - url + - email + - ipv4 + - ipv6 + - yaml + - entity + - user + - team + - proto + - markdown + blueprint: + type: string + dependsOn: + type: array + items: + type: string + visible: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: boolean + icon: + type: string + dataset: + $ref: "#/components/schemas/def-2" + sort: + type: object + properties: + property: + type: string + order: + type: string + enum: + - ASC + - DESC + required: + - property + - order + required: + - type + required: + oneOf: + - $ref: "#/components/schemas/def-0" + - type: array + items: + type: string + steps: + type: array + items: + type: object + properties: + title: + type: string + order: + type: array + items: + type: string + required: + - title + additionalProperties: false required: - - jqQuery + - properties + - steps additionalProperties: false - - type: array - items: - type: string required: - - properties + - type + - userInputs + - operation additionalProperties: false - type: object properties: - properties: - type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ - additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: + type: + type: string + enum: + - automation + event: + oneOf: + - type: object + properties: + type: type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: + enum: + - ENTITY_CREATED + blueprintIdentifier: + type: string + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ENTITY_UPDATED + blueprintIdentifier: + type: string + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ENTITY_DELETED + blueprintIdentifier: + type: string + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - TIMER_PROPERTY_EXPIRED + blueprintIdentifier: + type: string + propertyIdentifier: + type: string + required: + - type + - blueprintIdentifier + - propertyIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ANY_ENTITY_CHANGE + blueprintIdentifier: + type: string + required: + - type + - blueprintIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - RUN_CREATED + actionIdentifier: + type: string + required: + - type + - actionIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - RUN_UPDATED + actionIdentifier: + type: string + required: + - type + - actionIdentifier + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ANY_RUN_CHANGE + actionIdentifier: + type: string + required: + - type + - actionIdentifier + additionalProperties: false + condition: oneOf: - type: object properties: - jqQuery: + type: + type: string + enum: + - JQ + expressions: + type: array + items: + type: string + combinator: type: string + enum: + - and + - or required: - - jqQuery + - type + - expressions additionalProperties: false + required: + - type + - event + additionalProperties: false + invocationMethod: + oneOf: + - type: object + properties: + type: + type: string + enum: + - KAFKA + payload: + oneOf: - type: array - items: - type: string - order: - type: array - items: - type: string + - type: object required: - - properties - - order + - type additionalProperties: false - type: object properties: - properties: + type: + type: string + enum: + - WEBHOOK + url: + type: string + agent: + oneOf: + - type: boolean + - type: string + synchronized: + oneOf: + - type: boolean + - type: string + method: + type: string + headers: type: object - propertyNames: - pattern: ^[A-Za-z0-9@_=\\-]+$ additionalProperties: - type: object - properties: - type: - enum: - - string - - number - - boolean - - object - - array - format: - enum: - - date-time - - url - - email - - ipv4 - - ipv6 - - yaml - - entity - - user - - team - - proto - - markdown - blueprint: - type: string - dependsOn: - type: array - items: - type: string - visible: - oneOf: - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - - type: boolean - icon: - type: string - dataset: - type: object - properties: - combinator: - type: string - enum: - - and - - or - rules: - type: array - minItems: 1 - items: - anyOf: - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - between - - notBetween - - = - value: - type: object - oneOf: - - type: object - properties: - from: - type: string - format: date-time - to: - type: string - format: date-time - required: - - from - - to - - type: object - properties: - preset: - type: string - enum: - - today - - tomorrow - - yesterday - - lastWeek - - last2Weeks - - lastMonth - - last3Months - - last6Months - - last12Months - required: - - preset - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - oneOf: - - anyOf: - - type: number - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - property - - operator - - value - additionalProperties: false - - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - additionalProperties: false - required: - - property - - operator - - value - - type: object - properties: - operator: - enum: - - relatedTo - blueprint: - type: string - value: - anyOf: - - anyOf: - - type: string - - type: array - items: - type: string - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - direction: - enum: - - upstream - - downstream - required: - type: boolean - additionalProperties: false - required: - - operator - - value - - blueprint - - type: object - properties: - propertySchema: - type: object - properties: - type: - type: string - format: - type: string - items: - type: object - properties: - type: - type: string - format: - type: string - required: - - type - required: - - type - additionalProperties: false - operator: - enum: - - = - - "!=" - - contains - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false - required: - - operator - - propertySchema - additionalProperties: false - required: - - combinator - - rules - sort: - type: object - properties: - property: - type: string - order: - type: string - enum: - - ASC - - DESC - required: - - property - - order - required: - - type - required: + type: string + body: oneOf: + - type: array - type: object - properties: - jqQuery: - type: string - required: - - jqQuery - additionalProperties: false + required: + - type + - url + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - GITHUB + org: + type: string + repo: + type: string + workflow: + type: string + workflowInputs: + type: object + reportWorkflowStatus: + oneOf: + - type: boolean + - type: string + required: + - type + - org + - repo + - workflow + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - GITLAB + projectName: + type: string + groupName: + type: string + defaultRef: + type: string + pipelineVariables: + type: object + required: + - type + - projectName + - groupName + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - AZURE_DEVOPS + webhook: + type: string + org: + type: string + payload: + oneOf: - type: array - items: - type: string - steps: - type: array - items: - type: object + - type: object + required: + - type + - webhook + - org + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - UPSERT_ENTITY + blueprintIdentifier: + type: string + mapping: + type: object + properties: + identifier: + type: string + title: + type: string + team: + oneOf: + - type: string + - type: array + items: + type: string + icon: + type: string properties: - title: - type: string - order: - type: array - items: - type: string - required: - - title - additionalProperties: false + type: object + relations: + type: object + additionalProperties: + oneOf: + - type: string + - type: array + items: + type: string + - type: "null" + required: [] required: - - properties - - steps + - type + - blueprintIdentifier + - mapping + additionalProperties: false + requiredApproval: + oneOf: + - type: object + properties: + type: + type: string + enum: + - ANY + - ALL + required: + - type additionalProperties: false + - type: boolean approvalNotification: type: object properties: @@ -14794,10 +15261,11 @@ paths: additionalProperties: false required: - type + publish: + type: boolean additionalProperties: false required: - identifier - - userInputs - trigger - invocationMethod required: true @@ -14808,13 +15276,6 @@ paths: in: path name: action_identifier required: true - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - deprecated: true security: - bearer: - update:actions @@ -14822,7 +15283,6 @@ paths: "200": description: Default Response get: - summary: To be deprecated - the route will be removed on November 20th tags: - Actions parameters: @@ -14832,13 +15292,6 @@ paths: in: path name: action_identifier required: true - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true - deprecated: true security: - bearer: - read:actions @@ -14846,7 +15299,6 @@ paths: "200": description: Default Response delete: - summary: To be deprecated - the route will be removed on November 20th tags: - Actions parameters: @@ -14856,12 +15308,91 @@ paths: in: path name: action_identifier required: true - - schema: - type: string - minLength: 1 - in: path - name: blueprint_identifier - required: true + security: + - bearer: + - delete:actions + responses: + "200": + description: Default Response + "/v1/blueprints/{blueprint_identifier}/actions": + post: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions + requestBody: + content: + application/json: + schema: + type: object + properties: {} + deprecated: true + security: + - bearer: + - create:actions + responses: + "200": + description: Default Response + put: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions + requestBody: + content: + application/json: + schema: + type: object + properties: {} + deprecated: true + security: + - bearer: + - update:actions + responses: + "200": + description: Default Response + get: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions + deprecated: true + security: + - bearer: + - read:actions + responses: + "200": + description: Default Response + "/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}": + put: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions + requestBody: + content: + application/json: + schema: + type: object + properties: {} + deprecated: true + security: + - bearer: + - update:actions + responses: + "200": + description: Default Response + get: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions + deprecated: true + security: + - bearer: + - read:actions + responses: + "200": + description: Default Response + delete: + summary: This route is deprecated since November 20th 2024 + tags: + - Actions deprecated: true security: - bearer: @@ -15712,6 +16243,11 @@ paths: in: query name: user_email required: false + - schema: + type: string + in: query + name: user_id + required: false - schema: type: number minimum: 1 @@ -16184,6 +16720,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -16218,6 +16758,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -16260,7 +16804,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16367,7 +16911,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -16389,7 +16933,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16480,7 +17024,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16539,7 +17083,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -16650,7 +17194,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16728,7 +17272,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16805,7 +17349,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -16881,6 +17425,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -16920,7 +17466,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -17032,7 +17578,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -17065,7 +17611,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -17151,26 +17697,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -17215,51 +17741,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -17320,7 +17869,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -17615,8 +18164,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" - type: object properties: id: @@ -17686,6 +18235,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -17720,6 +18273,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -17762,7 +18319,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -17869,7 +18426,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -17891,7 +18448,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -17982,7 +18539,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -18041,7 +18598,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -18152,7 +18709,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -18230,7 +18787,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -18307,7 +18864,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -18383,6 +18940,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -18422,7 +18981,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -18534,7 +19093,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -18567,7 +19126,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -18653,26 +19212,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -18717,51 +19256,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -18822,7 +19384,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -19117,8 +19679,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - title @@ -19200,6 +19762,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -19234,6 +19800,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -19276,7 +19846,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19383,7 +19953,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -19405,7 +19975,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19496,7 +20066,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19555,7 +20125,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -19666,7 +20236,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19744,7 +20314,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19821,7 +20391,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -19897,6 +20467,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -19936,7 +20508,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -20048,7 +20620,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -20081,7 +20653,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -20167,26 +20739,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -20231,51 +20783,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -20336,7 +20911,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -20631,8 +21206,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - type @@ -20686,6 +21261,8 @@ paths: "200": description: Default Response patch: + summary: "Warning: This API is currently in Beta and may undergo significant + changes." tags: - Pages requestBody: @@ -20746,6 +21323,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -20780,6 +21361,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -20822,7 +21407,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -20929,7 +21514,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -20951,7 +21536,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21042,7 +21627,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21101,7 +21686,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -21212,7 +21797,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21290,7 +21875,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21367,7 +21952,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21443,6 +22028,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -21482,7 +22069,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -21594,7 +22181,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -21627,7 +22214,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -21713,26 +22300,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -21777,51 +22344,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -21882,7 +22472,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -22177,8 +22767,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" - type: object properties: id: @@ -22248,6 +22838,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -22282,6 +22876,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -22324,7 +22922,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22431,7 +23029,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -22453,7 +23051,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22544,7 +23142,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22603,7 +23201,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -22714,7 +23312,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22792,7 +23390,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22869,7 +23467,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -22945,6 +23543,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -22984,7 +23584,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -23096,7 +23696,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -23129,7 +23729,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -23215,26 +23815,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -23279,51 +23859,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -23384,7 +23987,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -23679,8 +24282,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - title @@ -23762,6 +24365,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -23796,6 +24403,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -23838,7 +24449,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -23945,7 +24556,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -23967,7 +24578,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24058,7 +24669,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24117,7 +24728,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -24228,7 +24839,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24306,7 +24917,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24383,7 +24994,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24459,6 +25070,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -24498,7 +25111,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -24610,7 +25223,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -24643,7 +25256,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -24729,26 +25342,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -24793,51 +25386,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -24898,7 +25514,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -25193,8 +25809,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - type @@ -25267,6 +25883,8 @@ paths: - ok "/v1/pages/{page_identifier}/widgets": post: + summary: "Warning: This API is currently in Beta and may undergo significant + changes." tags: - Pages requestBody: @@ -25305,6 +25923,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -25339,6 +25961,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -25381,7 +26007,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -25488,7 +26114,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -25510,7 +26136,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -25601,7 +26227,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -25660,7 +26286,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -25771,7 +26397,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -25849,7 +26475,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -25926,7 +26552,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -26002,6 +26628,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -26041,7 +26669,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -26153,7 +26781,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -26186,7 +26814,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -26272,26 +26900,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -26336,51 +26944,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -26441,7 +27072,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -26736,8 +27367,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" - type: object properties: id: @@ -26807,6 +27438,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -26841,6 +27476,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -26883,7 +27522,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -26990,7 +27629,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -27012,7 +27651,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27103,7 +27742,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27162,7 +27801,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -27273,7 +27912,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27351,7 +27990,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27428,7 +28067,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27504,6 +28143,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -27543,7 +28184,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -27655,7 +28296,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -27688,7 +28329,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -27774,26 +28415,6 @@ paths: type: array items: anyOf: - - type: object - properties: - property: - type: string - operator: - enum: - - ">" - - ">=" - - < - - <= - value: - anyOf: - - type: number - - type: string - format: date-time - required: - - property - - operator - - value - additionalProperties: false - type: object properties: property: @@ -27838,51 +28459,74 @@ paths: - operator - value additionalProperties: false + - type: object + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: type: string operator: enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn + - ">" + - ">=" + - < + - <= value: anyOf: - - type: "null" - - type: string - type: number - - type: boolean - - type: array - items: - type: string - type: string format: date-time - additionalProperties: false required: - property - operator - value - - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property additionalProperties: false + - type: object + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -27943,7 +28587,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -28238,8 +28882,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - title @@ -28321,6 +28965,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -28355,6 +29003,10 @@ paths: type: array items: type: string + order: + type: array + items: + type: string blueprint: type: string additionalProperties: false @@ -28397,7 +29049,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -28504,7 +29156,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" excludedFields: type: array items: @@ -28526,7 +29178,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -28617,7 +29269,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -28676,7 +29328,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" targetBlueprint: type: string relatedProperty: @@ -28787,7 +29439,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -28865,7 +29517,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -28942,7 +29594,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -29018,6 +29670,8 @@ paths: type: boolean user_email: type: string + user_id: + type: string limit: type: number minimum: 1 @@ -29057,7 +29711,7 @@ paths: type: object properties: filterBy: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - filterBy @@ -29169,7 +29823,7 @@ paths: title: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" hiddenBlueprints: type: array items: @@ -29202,7 +29856,7 @@ paths: description: type: string dataset: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" additionalProperties: false required: - type @@ -29333,17 +29987,18 @@ paths: - value additionalProperties: false - type: object - properties: - operator: - enum: - - isEmpty - - isNotEmpty - property: - type: string - required: - - operator - - property - additionalProperties: false + oneOf: + - properties: + operator: + enum: + - isEmpty + - isNotEmpty + property: + type: string + required: + - operator + - property + additionalProperties: false - type: object properties: property: @@ -29365,38 +30020,40 @@ paths: - value additionalProperties: false - type: object - properties: - property: - type: string - operator: - enum: - - = - - "!=" - - containsAny - - contains - - doesNotContains - - beginsWith - - doesNotBeginsWith - - endsWith - - doesNotEndsWith - - in - - notIn - value: - anyOf: - - type: "null" - - type: string - - type: number - - type: boolean - - type: array - items: - type: string - - type: string - format: date-time - additionalProperties: false - required: - - property - - operator - - value + oneOf: + - type: object + properties: + property: + type: string + operator: + enum: + - = + - "!=" + - containsAny + - contains + - doesNotContains + - beginsWith + - doesNotBeginsWith + - endsWith + - doesNotEndsWith + - in + - notIn + value: + anyOf: + - type: "null" + - type: string + - type: number + - type: boolean + - type: array + items: + type: string + - type: string + format: date-time + additionalProperties: false + required: + - property + - operator + - value - type: object properties: operator: @@ -29457,7 +30114,7 @@ paths: - operator - propertySchema additionalProperties: false - - $ref: "#/components/schemas/def-0" + - $ref: "#/components/schemas/def-1" title: type: string icon: @@ -29752,8 +30409,8 @@ paths: required: - type - title - - $ref: "#/components/schemas/def-1" - - $ref: "#/components/schemas/def-2" + - $ref: "#/components/schemas/def-3" + - $ref: "#/components/schemas/def-4" additionalProperties: false required: - type @@ -30090,8 +30747,9 @@ paths: installationType: type: string enum: - - Saas - OnPrem + - Saas + - SaasOAuth2 default: OnPrem installationAppType: type: string @@ -30246,6 +30904,7 @@ paths: installationType: enum: - Saas + - SaasOAuth2 required: - installationType then: @@ -30791,220 +31450,19 @@ paths: responses: "200": description: Default Response - /v1/data-sources: + /v1/integration/oauth2: get: tags: - - Data Sources - security: - - bearer: [] - responses: - "200": - description: Default Response - /v1/webhooks: - post: - tags: - - Webhook - requestBody: - content: - application/json: - schema: - type: object - properties: - identifier: - type: string - maxLength: 30 - title: - type: string - maxLength: 30 - description: - type: string - maxLength: 200 - icon: - type: string - mappings: - type: array - items: - type: object - properties: - operation: - oneOf: - - enum: - - create - - type: object - properties: - type: - enum: - - create - required: - - type - additionalProperties: false - - enum: - - delete - - type: object - properties: - type: - enum: - - delete - deleteDependents: - type: boolean - required: - - type - additionalProperties: false - if: - properties: - operation: - oneOf: - - enum: - - delete - - type: object - properties: - type: - enum: - - delete - deleteDependents: - type: boolean - required: - - type - additionalProperties: false - required: - - operation - then: - properties: - operation: - oneOf: - - enum: - - delete - - type: object - properties: - type: - enum: - - delete - deleteDependents: - type: boolean - required: - - type - additionalProperties: false - blueprint: - type: string - filter: - type: string - itemsToParse: - type: string - entity: - type: object - properties: - identifier: - type: string - additionalProperties: false - required: - - identifier - required: - - blueprint - - entity - additionalProperties: true - else: - properties: - operation: - oneOf: - - enum: - - create - - type: object - properties: - type: - enum: - - create - required: - - type - additionalProperties: false - blueprint: - type: string - filter: - type: string - itemsToParse: - type: string - entity: - type: object - properties: - identifier: - oneOf: - - type: string - - type: object - properties: - combinator: - type: string - rules: - type: array - items: - type: object - additionalProperties: true - additionalProperties: false - required: - - combinator - - rules - title: - type: string - icon: - type: string - team: - type: string - properties: - type: object - propertyNames: - type: string - relations: - type: object - propertyNames: - type: string - additionalProperties: false - required: - - identifier - required: - - blueprint - - entity - additionalProperties: false - enabled: - type: boolean - default: true - security: - type: object - properties: - secret: - type: string - signatureHeaderName: - type: string - signatureAlgorithm: - type: string - enum: - - sha1 - - sha256 - - plain - signaturePrefix: - type: string - requestIdentifierPath: - type: string - additionalProperties: false - integrationType: - type: string - enum: - - custom - - template - additionalProperties: false - required: - - title - - enabled - required: true - security: - - bearer: - - create:integrations + - Integrations responses: "200": description: Default Response + /v1/data-sources: get: tags: - - Webhook + - Data Sources security: - - bearer: - - read:integrations + - bearer: [] responses: "200": description: Default Response @@ -31443,6 +31901,16 @@ paths: responses: "200": description: Default Response + /v1/webhooks: + get: + tags: + - Webhook + security: + - bearer: + - read:integrations + responses: + "200": + description: Default Response /v1/audit-log: get: tags: @@ -34620,7 +35088,7 @@ paths: type: object minProperties: 1 additionalProperties: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" conditions: type: array items: @@ -34656,7 +35124,7 @@ paths: type: object minProperties: 1 additionalProperties: - $ref: "#/components/schemas/def-0" + $ref: "#/components/schemas/def-1" conditions: type: array items: @@ -34681,34 +35149,6 @@ paths: responses: "200": description: Default Response - "/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}/permissions": - get: - summary: This route is deprecated since November 20th 2024 - tags: - - Actions - deprecated: true - security: - - bearer: - - read:blueprints - responses: - "200": - description: Default Response - patch: - summary: This route is deprecated since November 20th 2024 - tags: - - Actions - requestBody: - content: - application/json: - schema: - type: object - properties: {} - deprecated: true - security: - - bearer: [] - responses: - "200": - description: Default Response "/v1/sidebars/{identifier}": get: tags: