# CustomMetadataValue

> Type in domain **Metadata**

- HTML: [CustomMetadataValue.html](CustomMetadataValue.html)
- Raw SDL: [CustomMetadataValue.sdl](CustomMetadataValue.sdl)
- Covered by: [llms.txt](../llms.txt)

Implements: `CustomMetadata`

## Fields

- `property`: `CustomMetadataProperty!` — `CustomMetadataProperty` details.
- `value`: `Any` — `CustomMetadataProperty` value. For `SELECT`, returns an object with `optionId` and `text`. For `CATALOG`, returns an opaque catalog selection ID string. For other single-value property types, returns the stored value as `String`/`Float`/`Int`/`DateTime`.

## Reach via

Example queries that can return this type from the root `Query`.

### `assets › customMetadata`

```graphql
query AssetsCustomMetadata {
  assets(ids: "…") {
    customMetadata {
      ... on CustomMetadataValue {
        __typename
        property {
          name
          id
          createdAt
          defaultValue
          forbiddenDependeePropertyIds
          helpText
          creator {
            __typename
            name
            id
          }
          dependency {
            __typename
            propertyId
            type
            ... on CustomMetadataPropertySelectValueTypeDependencyTypeEquals {
              propertyOptionId
            }
            ... on CustomMetadataPropertySelectValueTypeDependencyTypeOneOf {
              propertyOptionIds
            }
          }
          modifier {
            __typename
            name
            id
          }
          permissions {
            basic { permissionLevel }
            custom { permissionLevel }
          }
          type {
            __typename
            name
            ... on CustomMetadataPropertyTypeCatalog {
              allowedLinkedColumnIds
              allowMultiSelect
            }
          }
        }
        value
      }
    }
  }
}
```

Raw: [`AssetsCustomMetadata-CustomMetadataValue.sdl`](../examples/AssetsCustomMetadata-CustomMetadataValue.sdl)

### `asset › customMetadata`

```graphql
query AssetCustomMetadata {
  asset(id: "…") {
    customMetadata {
      ... on CustomMetadataValue {
        __typename
        property {
          name
          id
          createdAt
          defaultValue
          forbiddenDependeePropertyIds
          helpText
          creator {
            __typename
            name
            id
          }
          dependency {
            __typename
            propertyId
            type
            ... on CustomMetadataPropertySelectValueTypeDependencyTypeEquals {
              propertyOptionId
            }
            ... on CustomMetadataPropertySelectValueTypeDependencyTypeOneOf {
              propertyOptionIds
            }
          }
          modifier {
            __typename
            name
            id
          }
          permissions {
            basic { permissionLevel }
            custom { permissionLevel }
          }
          type {
            __typename
            name
            ... on CustomMetadataPropertyTypeCatalog {
              allowedLinkedColumnIds
              allowMultiSelect
            }
          }
        }
        value
      }
    }
  }
}
```

Raw: [`AssetCustomMetadata-CustomMetadataValue.sdl`](../examples/AssetCustomMetadata-CustomMetadataValue.sdl)
