{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moesif/main/json-schema/moesif-dashboard-update-item-schema.json",
  "title": "DashboardUpdateItem",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moesif-dashboards-api-openapi.yml#/components/schemas/DashboardUpdateItem",
  "properties": {
    "parent": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "dashboard_id": {
      "type": "string"
    },
    "workspace_ids": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "sort_order": {
      "type": "number",
      "format": "double"
    },
    "dashboard_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "policy": {
      "$ref": "#/$defs/PolicyItem"
    }
  },
  "$defs": {
    "ACLItem": {
      "properties": {
        "grantee": {
          "type": "string"
        },
        "permission": {
          "type": "string"
        }
      },
      "required": [
        "grantee",
        "permission"
      ]
    },
    "PolicyItem": {
      "properties": {
        "acl": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ACLItem"
          }
        },
        "resource": {
          "type": "object"
        },
        "api_scopes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "original_encoded_resource": {
          "type": "string"
        }
      },
      "required": [
        "acl",
        "resource"
      ]
    }
  }
}