Skip to main content

ValueTypeObjectResponse

key stringrequired

The key

Possible values: non-empty and <= 100 characters

Example: test_key
type stringrequired

The type of the value

Possible values: [object]

value object[]required

The value

Possible values: >= 1, <= 150

  • Array [
  • type string

    Type of the metadata item

    Possible values: [boolean, boolean-array, date, date-array, datetime, datetime-array, file, number, number-array, string, string-array]

    key stringrequired

    The key

    Possible values: non-empty and <= 100 characters

    Example: test_key
    type stringrequired

    The type of the value

    Possible values: [boolean]

    value booleanrequired

    The value

    Example: false
  • ]
  • ValueTypeObjectResponse
    {
    "key": "test_key",
    "type": "object",
    "value": [
    {
    "key": "test_key",
    "type": "string",
    "value": "The value of test_key"
    },
    {
    "key": "test_key",
    "type": "number",
    "value": 2021
    },
    {
    "key": "test_key",
    "type": "boolean",
    "value": false
    },
    {
    "key": "test_key",
    "type": "date",
    "value": "2020-09-30"
    },
    {
    "key": "test_key",
    "type": "datetime",
    "value": "2020-09-30T09:09:09Z"
    },
    {
    "key": "test_key",
    "type": "string-array",
    "value": [
    "string"
    ]
    },
    {
    "key": "test_key",
    "type": "number-array",
    "value": [
    0
    ]
    },
    {
    "key": "test_key",
    "type": "date-array",
    "value": [
    "2024-07-29"
    ]
    },
    {
    "key": "test_key",
    "type": "datetime-array",
    "value": [
    "2024-07-29T15:51:28.071Z"
    ]
    },
    {
    "key": "test_key",
    "type": "boolean-array",
    "value": [
    true
    ]
    },
    {
    "key": "test_key",
    "type": "file",
    "value": "https://files.stg.inspectorio.com/sight/589/7712/9b02e83f-a28b-40a1-acd0-0863a5489074.jpg"
    }
    ]
    }