publish_model
Publish a model schema so forms and records have a live contract.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" }, "idempotency_key": { "title": "Idempotency Key", "type": "string" }, "model_id": { "title": "Model Id", "type": "string" } }, "required": [ "application_id", "model_id", "idempotency_key" ], "title": "publish_modelArguments", "type": "object"}Output schema
Section titled “Output schema”{ "description": "Schema for model data in responses.", "properties": { "applicationId": { "format": "uuid", "title": "Applicationid", "type": "string" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "draftDiffersFromPublished": { "default": false, "title": "Draftdiffersfrompublished", "type": "boolean" }, "draftSchemaVersion": { "title": "Draftschemaversion", "type": "integer" }, "icon": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Icon" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "label": { "title": "Label", "type": "string" }, "name": { "title": "Name", "type": "string" }, "pluralLabel": { "title": "Plurallabel", "type": "string" }, "publishedSchemaVersion": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Publishedschemaversion" }, "schemaState": { "title": "Schemastate", "type": "string" }, "settings": { "additionalProperties": true, "title": "Settings", "type": "object" }, "tenantId": { "format": "uuid", "title": "Tenantid", "type": "string" }, "updatedAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updatedat" }, "workspaceId": { "format": "uuid", "title": "Workspaceid", "type": "string" } }, "required": [ "id", "tenantId", "workspaceId", "applicationId", "name", "label", "pluralLabel", "schemaState", "draftSchemaVersion" ], "title": "ModelResponse", "type": "object"}