Перейти к содержимому
Назад

Daggerheart collection schemas

system: dh · type: collection-schemas

Поля

  • keystringобязательное
    Lowercase letters, digits and underscores, up to 64 characters; unique among your schemas
  • titleobjectобязательное
    At least one language must be non-empty
    • enstring
    • rustring
  • fieldsarray<object>
    Up to 30 fields. On update a field cannot be removed and its type cannot change
    • keystringобязательное
      Starts with a letter; letters, digits and underscores, up to 32 characters
    • typestringобязательное
      Одно из: text, value, bool, feature
    • labelobjectобязательное
      • enstring
      • rustring
    • orderinteger

Пример

Файл с одной заполненной записью типа collection-schemas:
[
  {
    "system": "dh",
    "type": "collection-schemas",
    "data": [
      {
        "key": "example key",
        "title": {}
      }
    ]
  }
]