{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-private-ca/refs/heads/main/json-structure/amazon-private-ca-access-method-structure.json",
  "name": "AccessMethod",
  "description": "Describes the type and format of extension access. Only one of <code>CustomObjectIdentifier</code> or <code>AccessMethodType</code> may be provided. Providing both results in <code>InvalidArgsException</code>.",
  "type": "object",
  "properties": {
    "CustomObjectIdentifier": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomObjectIdentifier"
        },
        {
          "description": "An object identifier (OID) specifying the <code>AccessMethod</code>. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>."
        }
      ]
    },
    "AccessMethodType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccessMethodType"
        },
        {
          "description": "Specifies the <code>AccessMethod</code>."
        }
      ]
    }
  }
}