toolsOzoneSettingDefs top-level constant

Map<String, dynamic> const toolsOzoneSettingDefs

tools.ozone.setting.defs

Implementation

const toolsOzoneSettingDefs = <String, dynamic>{
  "lexicon": 1,
  "id": "tools.ozone.setting.defs",
  "defs": {
    "option": {
      "type": "object",
      "required": [
        "key",
        "value",
        "did",
        "scope",
        "createdBy",
        "lastUpdatedBy"
      ],
      "properties": {
        "key": {"type": "string", "format": "nsid"},
        "did": {"type": "string", "format": "did"},
        "value": {"type": "unknown"},
        "description": {
          "type": "string",
          "maxLength": 10240,
          "maxGraphemes": 1024
        },
        "createdAt": {"type": "string", "format": "datetime"},
        "updatedAt": {"type": "string", "format": "datetime"},
        "managerRole": {
          "type": "string",
          "knownValues": [
            "tools.ozone.team.defs#roleModerator",
            "tools.ozone.team.defs#roleTriage",
            "tools.ozone.team.defs#roleAdmin"
          ]
        },
        "scope": {
          "type": "string",
          "knownValues": ["instance", "personal"]
        },
        "createdBy": {"type": "string", "format": "did"},
        "lastUpdatedBy": {"type": "string", "format": "did"}
      }
    }
  }
};