OPF
SpecDefinition referenceView source

Table Cell Value

A scalar table value or canonical rich text runs, without cell decoration or geometry.

Metadata

Definition
#/$defs/TableCellValue
Form
5 alternative forms (oneOf)
Source
spec/schemas/opf.schema.json

Field index

This definition uses the forms or value constraints below.

oneOf 1 · string

Exact constraints for oneOf 1
oneOf 1 schema
{
  "type": "string"
}

oneOf 2 · number

Exact constraints for oneOf 2
oneOf 2 schema
{
  "type": "number"
}

oneOf 3 · boolean

Exact constraints for oneOf 3
oneOf 3 schema
{
  "type": "boolean"
}

oneOf 4 · null

Exact constraints for oneOf 4
oneOf 4 schema
{
  "type": "null"
}

oneOf 5 · array<ref:TextRun>

Exact constraints for oneOf 5
oneOf 5 schema
{
  "type": "array",
  "items": {
    "$ref": "#/$defs/TextRun"
  }
}
Complete definition constraints
Exact schema constraints
{
  "oneOf": [
    {
      "type": "string"
    },
    {
      "type": "number"
    },
    {
      "type": "boolean"
    },
    {
      "type": "null"
    },
    {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TextRun"
      }
    }
  ],
  "description": "A scalar table value or canonical rich text runs, without cell decoration or geometry."
}