Docs / Schemas / generic / 0.1.2
Generic 0.1.2
A flexible schema for storing arbitrary key-value data.
This is an older version of generic.
The latest version is 0.8.0. Releases before 0.7.0 use the $id https:/ and are served by DorsalHub.
$idhttps:// dorsalhub.com/ schemas/ open/ generic - Latest
https:// oatschema.org/ generic - Versions
- Source
- v0.1.2 on GitHub
Schema
{ "_license": { "id": "Apache-2.0", "notice": "Copyright 2025 Dorsal Hub LTD", "url": "https://github.com/dorsalhub/open-validation-schemas/blob/main/LICENSE" }, "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://dorsalhub.com/schemas/open/generic", "title": "Generic", "version": "0.1.2", "description": "A flexible schema for storing arbitrary key-value data.", "type": "object", "properties": { "description": { "type": "string", "description": "Describe the data.", "maxLength": 1024 }, "producer": { "type": "string", "description": "The creator (model, tool or author) of this record.", "maxLength": 1024 }, "data": { "type": "object", "description": "An object containing custom key-value data. Nesting is disallowed.", "maxProperties": 128, "additionalProperties": { "anyOf": [ { "type": "string", "maxLength": 1024 }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] } } }, "required": [ "data" ], "additionalProperties": false}
Fields
-
descriptionstringDescribe the data.
- at most 1024 characters
-
producerstringThe creator (model, tool or author) of this record.
- at most 1024 characters
-
dataobject requiredAn object containing custom key-value data. Nesting is disallowed.
- at most 128 properties
-
*string | number | boolean | nullAny other key.
- string: at most 1024 characters
Copyright 2025 Dorsal Hub LTD. Licensed under Apache-2.0.