Skip to content

Schema: ServicePatch

All schemas · API reference · Data mapping guide

Field Required Type / allowed values
category No ServiceCategory
name No string
description No string or null
payload No RipsServiceTemplate
inputProvenance No object

The JSON retains the source contract descriptions. Do not translate property names or enum values.

{
"type": "object",
"properties": {
"category": {
"$ref": "#/components/schemas/ServiceCategory"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"description": {
"type": [
"string",
"null"
],
"maxLength": 1000
},
"payload": {
"$ref": "#/components/schemas/RipsServiceTemplate"
},
"inputProvenance": {
"type": "object",
"additionalProperties": {},
"description": "Procedencia de prellenados y ediciones explícitas. Se verifica contra la configuración del espacio."
}
},
"additionalProperties": false,
"description": "Actualización parcial de la plantilla. Si envía payload, envíe el objeto de plantilla que desea guardar.",
"example": {
"name": "Consulta de medicina general",
"description": "Plantilla revisada de ejemplo"
}
}