{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-google-chrome-policy-versions-v1-define-certificate-request-schema.json",
  "title": "GoogleChromePolicyVersionsV1DefineCertificateRequest",
  "description": "Request object for creating a certificate.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromepolicy-customers-api-openapi.yml#/components/schemas/GoogleChromePolicyVersionsV1DefineCertificateRequest",
  "type": "object",
  "properties": {
    "certificate": {
      "type": "string",
      "description": "Required. The raw contents of the .PEM, .CRT, or .CER file."
    },
    "ceritificateName": {
      "type": "string",
      "description": "Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name."
    },
    "targetResource": {
      "type": "string",
      "description": "Required. The target resource on which this certificate is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")"
    },
    "settings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleChromePolicyVersionsV1NetworkSetting"
      },
      "description": "Optional. Certificate settings within the chrome.networks.certificates namespace."
    }
  },
  "$defs": {
    "GoogleChromePolicyVersionsV1NetworkSetting": {
      "description": "A network setting contains network configurations. It adheres to the PolicyAPI formats defined under the namespace chrome.networks.{wifi/ethernet/cellular/vpn}.Details",
      "type": "object",
      "properties": {
        "value": {
          "type": "object",
          "description": "The value of the network setting.",
          "additionalProperties": {
            "description": "Properties of the object."
          }
        },
        "policySchema": {
          "description": "The fully qualified name of the network setting.",
          "type": "string"
        }
      }
    }
  }
}