capabilities.work

Rename Document Type and Refresh Its Schema

A 3-step recipe with Affinda. We can help you get access.

Recipe · 3 steps

Rename Document Type and Refresh Its Schema

with Affinda

Fetch a document type, rename it, then regenerate its JSON schema.

  1. Read the document type so its current state is known before updating.
  2. Update the document type's name and description.
  3. Regenerate the JSON schema from the updated document type.
What you'll need to have ready
  • identifier: The document type identifier to update.
  • name: The new name for the document type.
  • description: The new description for the document type.
  • schemaTitle: Optional title to use for the regenerated JSON schema.
For your developer

Arazzo workflow affinda:rename-document-type-and-refresh-schema, 3 operations: getDocumentType → updateDocumentType → jsonSchemaFromDocumentType. Specs on APIs.io.