changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "kind": {
- "const": "policies"
- },
- "organization": {
- "type": [
- "string",
- "null"
- ]
- },
- "policies": {
- "items": {
- "properties": {
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "enforced": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "isDefault": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "policyType": {
- "type": "string"
- },
- "priority": {
- "type": "integer"
- },
- "projectId": {
- "type": [
- "string",
- "null"
- ]
- },
- "projectName": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "threatTypes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "triggeredCount": {
- "type": "integer"
- },
- "updatedAt": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "name",
- "policyType",
- "status",
- "enforced"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "returned": {
- "type": "integer"
- },
- "total": {
- "type": "integer"
- }
- },
- "required": [
- "kind",
- "policies",
- "returned",
- "total"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "type": [
- "string",
- "object"
- ]
- },
- "kind": {
- "const": "error"
- }
- },
- "required": [
- "kind",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "kind": {
+ "const": "policies"
+ },
+ "organizationId": {
+ "type": "string"
+ },
+ "policies": {
+ "items": {
+ "properties": {
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "enforced": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "isDefault": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "policyType": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "projectId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "projectName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "threatTypes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "triggeredCount": {
+ "type": "integer"
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "policyType",
+ "status",
+ "enforced"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "returned": {
+ "type": "integer"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "kind",
+ "policies",
+ "returned",
+ "total"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "kind",
+ "error"
+ ],
+ "type": "object"
+ }
+]