{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PatchedExperimentSavedMetric", "title": "PatchedExperimentSavedMetric", "type": "object", "description": "Mixin for serializers to add user access control fields", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 400 }, "description": { "type": "string", "nullable": true, "maxLength": 400 }, "query": {}, "created_by": { "allOf": [ { "$ref": "#/components/schemas/UserBasic" } ], "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "tags": { "type": "array", "items": {} }, "user_access_level": { "type": "string", "nullable": true, "readOnly": true, "description": "The effective access level the user has for this object" } } }