{ "lexicon": 1, "id": "dev.tsunagite.defs", "description": "Assistant data types for Tsunagite lexicons.", "defs": { "indexable": { "type": "object", "description": "A named value with a numeric index for sorting.", "properties": { "id": { "type": "string", "description": "The internal ID for the value, limited to the RecordKey character set.", "format": "record-key", "minLength": 1, "maxLength": 32 }, "name": { "type": "ref", "description": "The human-readable name of the value for displaying in UIs.", "ref": "dev.tsunagite.translatable" }, "index": { "type": "integer", "description": "The numeric index used for sorting." }, "color": { "type": "string", "description": "The hex code color associated with the value." } }, "required": ["id", "name", "index"] }, "typedRef": { "type": "object", "description": "A typed record reference that does not require a CID hash.", "properties": { "ref": { "type": "string", "description": "The AT URI of the record this object references.", "format": "at-uri" }, "type": { "type": "string", "description": "The type of the record this object references.", "format": "nsid" } } }, "associatedScore": { "type": "object", "description": "A combined view of a score and the profile of the user who performed it.", "properties": { "did": { "type": "string", "format": "did" }, "handle": { "type": "string", "format": "handle" }, "profile": { "type": "ref", "ref": "dev.tsunagite.profile" }, "score": { "type": "ref", "ref": "dev.tsunagite.score" } }, "required": ["score"] } } }