{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-freefax-freefax-properties-with-iam-schema.json",
  "title": "freefax.FreefaxPropertiesWithIAM",
  "description": "Freefax properties",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-freefax-openapi.yml#/components/schemas/freefax.FreefaxPropertiesWithIAM",
  "type": "object",
  "properties": {
    "faxMaxCall": {
      "allOf": [
        {
          "$ref": "#/$defs/telephony.FaxSendingTriesEnum"
        }
      ],
      "description": "Number of tries when sending a fax"
    },
    "faxQuality": {
      "allOf": [
        {
          "$ref": "#/$defs/telephony.FaxQualityEnum"
        }
      ],
      "description": "Available quality for fax documents"
    },
    "faxTagLine": {
      "type": "string",
      "description": "Customised freefax header"
    },
    "fromEmail": {
      "type": "string",
      "description": "FROM email header"
    },
    "fromName": {
      "type": "string",
      "description": "Name of the sender of the email"
    },
    "iam": {
      "allOf": [
        {
          "$ref": "#/$defs/iam.ResourceMetadata"
        }
      ],
      "description": "IAM resource metadata",
      "nullable": true,
      "readOnly": true
    },
    "number": {
      "allOf": [
        {
          "$ref": "#/$defs/phoneNumber"
        }
      ],
      "description": "Phone number",
      "readOnly": true
    },
    "redirectionEmail": {
      "type": "array",
      "description": "Email address to redirect fax response.",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "iam.ResourceMetadata": {
      "type": "object",
      "description": "IAM resource metadata embedded in services models",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Resource display name",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "Unique identifier of the resource",
          "format": "uuid",
          "readOnly": true
        },
        "state": {
          "allOf": [
            {
              "$ref": "#/$defs/iam.ResourceMetadata.StateEnum"
            }
          ],
          "description": "Resource state",
          "nullable": true,
          "readOnly": true
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Resource tags. Tags that were internally computed are prefixed with ovh:",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "urn": {
          "type": "string",
          "description": "Unique resource name used in policies",
          "readOnly": true
        }
      }
    },
    "iam.ResourceMetadata.StateEnum": {
      "type": "string",
      "description": "Resource state",
      "enum": [
        "EXPIRED",
        "IN_CREATION",
        "OK",
        "SUSPENDED"
      ]
    },
    "phoneNumber": {
      "type": "string",
      "description": "Phone number",
      "format": "phone-number"
    },
    "telephony.FaxQualityEnum": {
      "type": "string",
      "description": "Available quality for fax documents",
      "enum": [
        "best",
        "high",
        "normal"
      ]
    },
    "telephony.FaxSendingTriesEnum": {
      "type": "integer",
      "description": "Number of tries when sending a fax",
      "enum": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9
      ]
    }
  }
}