changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "attributes": {
+ "properties": {
+ "enumField": {
+ "properties": {
+ "label": {
+ "example": "field-label",
+ "type": "string"
+ },
+ "type": {
+ "properties": {
+ "enumContext": {
+ "example": "enum-context",
+ "type": "string"
+ },
+ "enumName": {
+ "example": "enum-name",
+ "type": "string"
+ },
+ "kind": {
+ "example": "enumeration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "listField": {
+ "properties": {
+ "label": {
+ "example": "field-label",
+ "type": "string"
+ },
+ "type": {
+ "properties": {
+ "itemType": {
+ "properties": {
+ "kind": {
+ "properties": {
+ "enum": {
+ "items": {
+ "enum": [
+ "string",
+ "text",
+ "text/html",
+ "integer",
+ "float",
+ "currency",
+ "time",
+ "date",
+ "date-time",
+ "boolean",
+ "structure",
+ "relationship"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "kind": {
+ "example": "list",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "primitiveField": {
+ "properties": {
+ "label": {
+ "example": "field-label",
+ "type": "string"
+ },
+ "type": {
+ "properties": {
+ "kind": {
+ "properties": {
+ "enum": {
+ "items": {
+ "enum": [
+ "string",
+ "text",
+ "text/html",
+ "integer",
+ "float",
+ "currency",
+ "time",
+ "date",
+ "date-time",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "structField": {
+ "properties": {
+ "label": {
+ "example": "field-label",
+ "type": "string"
+ },
+ "type": {
+ "properties": {
+ "kind": {
+ "example": "structure",
+ "type": "string"
+ },
+ "structureName": {
+ "example": "structureId",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "relationships": {
+ "properties": {
+ "relationshipField": {
+ "properties": {
+ "label": {
+ "example": "field-label",
+ "type": "string"
+ },
+ "type": {
+ "properties": {
+ "kind": {
+ "example": "relationship",
+ "type": "string"
+ },
+ "multi": {
+ "example": true,
+ "type": "boolean"
+ },
+ "targetResourceTypes": {
+ "items": {
+ "example": "resource-type",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "links": {
+ "properties": {
+ "self": {
+ "example": "https://example.com/polarion/rest/v1/projects/MyProjectId/actions/getFieldsMetadata?resourceType=MyResourceType&targetType=MyTargetType",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}