{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-user-schema.json",
  "title": "User",
  "description": "User credentials used for publishing activity.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-providers-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/UserProperties",
      "description": "User resource specific properties",
      "x-ms-client-flatten": true
    },
    "kind": {
      "type": "string",
      "description": "Kind of resource."
    }
  },
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
    }
  ],
  "$defs": {
    "UserProperties": {
      "type": "object",
      "description": "User resource specific properties",
      "properties": {
        "publishingUserName": {
          "type": "string",
          "description": "Username used for publishing."
        },
        "publishingPassword": {
          "type": "string",
          "format": "password",
          "description": "Password used for publishing.",
          "x-ms-secret": true
        },
        "publishingPasswordHash": {
          "type": "string",
          "format": "password",
          "description": "Password hash used for publishing.",
          "x-ms-secret": true
        },
        "publishingPasswordHashSalt": {
          "type": "string",
          "format": "password",
          "description": "Password hash salt used for publishing.",
          "x-ms-secret": true
        },
        "scmUri": {
          "type": "string",
          "description": "Url of SCM site."
        }
      },
      "required": [
        "publishingUserName"
      ]
    }
  }
}