{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecr/json-schema/amazon-ecr-get-signing-configuration-response-schema.json",
  "title": "GetSigningConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecr-signing-configuration-api-openapi.yml#/components/schemas/GetSigningConfigurationResponse",
  "type": "object",
  "properties": {
    "registryId": {
      "type": "string",
      "description": "The Amazon Web Services account ID associated with the registry."
    },
    "signingConfiguration": {
      "$ref": "#/$defs/SigningConfiguration"
    }
  },
  "$defs": {
    "SigningConfiguration": {
      "type": "object",
      "properties": {
        "rules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SigningRule"
          },
          "description": "A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules."
        }
      },
      "required": [
        "rules"
      ]
    },
    "SigningRepositoryFilter": {
      "type": "object",
      "properties": {
        "filter": {
          "type": "string",
          "description": "The filter value used to match repository names. When using WILDCARD_MATCH, the * character matches any sequence of characters. Examples: myapp/* - Matches all repositories starting with myapp/ */production - Matches all repositories ending with /production *prod* - Matches all repositories containing prod"
        },
        "filterType": {
          "type": "string",
          "enum": [
            "WILDCARD_MATCH"
          ],
          "description": "The type of filter to apply. Currently, only WILDCARD_MATCH is supported, which uses wildcard patterns to match repository names."
        }
      },
      "required": [
        "filter",
        "filterType"
      ]
    },
    "SigningRule": {
      "type": "object",
      "properties": {
        "signingProfileArn": {
          "type": "string",
          "description": "The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this rule. For more information about signing profiles, see Signing profiles in the Amazon Web Services Signer Developer Guide."
        },
        "repositoryFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SigningRepositoryFilter"
          },
          "description": "A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule."
        }
      },
      "required": [
        "signingProfileArn"
      ]
    }
  }
}