{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-file-storage/json-schema/azure-file-storage-share-permission-schema.json",
  "title": "SharePermission",
  "description": "A permission (a security descriptor) at the share level.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-file-storage-openapi.yml#/components/schemas/SharePermission",
  "type": "object",
  "required": [
    "permission"
  ],
  "properties": {
    "permission": {
      "type": "string",
      "description": "The permission in the Security Descriptor Definition Language (SDDL)."
    },
    "format": {
      "type": "string",
      "enum": [
        "Sddl",
        "Binary"
      ],
      "x-ms-enum": {
        "name": "FilePermissionFormat",
        "modelAsString": false
      }
    }
  }
}