{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-custom-property-by-field-request-schema.json", "title": "CustomPropertyByFieldRequest", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-catalogcustomproperties-api-openapi.yml#/components/schemas/CustomPropertyByFieldRequest", "x-stoplight": { "id": "5tvio9q9l2dpd" }, "allOf": [ { "$ref": "#/$defs/CustomPropertiesBase" }, { "type": "object", "properties": { "entity_refs": { "type": "array", "x-stoplight": { "id": "8t9gstypcz6rq" }, "items": { "$ref": "#/$defs/EntityValue" } }, "value": { "type": "object", "x-stoplight": { "id": "botemn13q8oum" } } } } ], "$defs": { "CustomPropertiesBase": { "title": "CustomPropertiesBase", "x-stoplight": { "id": "blleozqeppo3p" }, "type": "object", "description": "Custom properties base", "properties": { "entity_ref": { "type": "string", "x-stoplight": { "id": "f60m7omezo34z" } }, "property": { "type": "string", "x-stoplight": { "id": "e60m6bmezo34y" } }, "value": { "type": "object", "x-stoplight": { "id": "00wv958ee37z0" } }, "mode": { "type": "string", "x-stoplight": { "id": "ngeqasui9chk4" }, "enum": [ "append", "replace" ] } } }, "EntityValue": { "title": "EntityValue", "x-stoplight": { "id": "bpqeozlezzo2s" }, "type": "object", "description": "Value overrides for custom property", "required": [ "entity_ref" ], "properties": { "entity_ref": { "type": "string", "x-stoplight": { "id": "e60m6bmezo34y" } }, "value": { "type": "object", "x-stoplight": { "id": "00wv958ee37z0" } } } } } }