---
title: "submit default values"
method: POST
path: "/api/migrations/default-values"
tags: ["migration"]
---

# submit default values

`POST /api/migrations/default-values`

## Request

- The document declares no server URL.
- Auth: none declared

Sets the default values for attributes as provided by the user.

## Headers

- `origin` string

## Request body

- DefaultValueView[]: The updated default values for attributes.
  - `associations` SemanticAssociationChange[]
    - SemanticAssociationChange
      - [`SemanticResourceChange`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FSemanticResourceChange)
      - object
        - `associationUsed` boolean
        - `domain` string
        - `mapping` string
        - `range` string
        - `targetInstancesNeedValue` boolean
  - `attributes` SemanticAttributeChange[]
    - SemanticAttributeChange
      - [`SemanticResourceChange`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FSemanticResourceChange)
      - object
        - `allowedValues` string[]
        - `dataType` string
        - `dataTypesEquivalent` boolean
        - `defaultValue` string
        - `domain` string
        - `forceDefaultValue` boolean
        - `oldDataType` string
        - `optional` boolean
        - `primitiveDataType` string
        - `targetInstancesNeedValue` boolean
  - `classLabel` string
  - `enumEntries` SemanticEnumEntryChange[]
    - SemanticEnumEntryChange
      - [`SemanticResourceChange`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FSemanticResourceChange)
      - object
        - `allowedValues` string[]
        - `domain` string
        - `replacementValue` string
        - `targetInstancesNeedValue` boolean

## Response `200`

OK

## Changes

- **2026-11-24** `0972e1736e1b`: 27 info
  - added the new optional request property `items/associations/items/allOf[#/components/schemas/SemanticResourceChange]/additionalOldIRIs`
  - added the new optional request property `items/associations/items/allOf[#/components/schemas/SemanticResourceChange]/allOldIRIs`
  - added the new optional request property `items/associations/items/allOf[#/components/schemas/SemanticResourceChange]/mappedToIRIs`
  - added the new optional request property `items/associations/items/allOf[subschema #2]/domain`
  - …23 more
- **2026-09-10** `3a79112398f3`: 20 info
  - added the new optional request property `items/associations/items/allOf[#/components/schemas/SemanticResourceChange]/comment`
  - added the new optional request property `items/attributes/items/allOf[#/components/schemas/SemanticResourceChange]/comment`
  - added the new optional request property `items/attributes/items/allOf[subschema #2]/dataTypesEquivalent`
  - added the new optional request property `items/attributes/items/allOf[subschema #2]/oldDataType`
  - …16 more

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/migrations/default-values/post.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
