get_application_schema
Read draft model metadata and fields for an application.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" } }, "required": [ "application_id" ], "title": "get_application_schemaArguments", "type": "object"}Output schema
Section titled “Output schema”{ "additionalProperties": false, "properties": { "applicationId": { "format": "uuid", "type": "string" }, "models": { "items": { "description": "Schema for model detail responses including fields.", "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" }, "fields": { "items": { "description": "Schema for field data in responses.", "properties": { "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "defaultValue": { "title": "Defaultvalue" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "isRequired": { "title": "Isrequired", "type": "boolean" }, "isUnique": { "title": "Isunique", "type": "boolean" }, "label": { "title": "Label", "type": "string" }, "modelId": { "format": "uuid", "title": "Modelid", "type": "string" }, "name": { "title": "Name", "type": "string" }, "position": { "title": "Position", "type": "integer" }, "settings": { "additionalProperties": true, "title": "Settings", "type": "object" }, "tenantId": { "format": "uuid", "title": "Tenantid", "type": "string" }, "type": { "title": "Type", "type": "string" }, "updatedAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updatedat" }, "workspaceId": { "format": "uuid", "title": "Workspaceid", "type": "string" } }, "required": [ "id", "tenantId", "workspaceId", "modelId", "name", "label", "type", "isRequired", "isUnique", "position" ], "title": "FieldResponse", "type": "object" }, "title": "Fields", "type": "array" }, "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": "ModelDetailResponse", "type": "object" }, "type": "array" } }, "required": [ "applicationId", "models" ], "type": "object"}