{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mappings.json",
  "description": "CFN template JSON specification for using the mappings capability",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/components/mappings.json",
    "sourceSha256": "04d33be63d3ddc6d76fcb64f80ccf374cdd34945eb333d60133970af3b8c27f0"
  },
  "type": "object",
  "properties": {
    "Mappings": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "patternProperties": {
        "^[a-zA-Z0-9._-]{1,255}$": {
          "$ref": "#/$defs/Attribute"
        }
      }
    }
  },
  "$defs": {
    "Attribute": {
      "$comment": "Attribute defines the content of a Mapping",
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "patternProperties": {
        "^[a-zA-Z0-9._-]{1,255}$": {
          "type": [
            "boolean",
            "integer",
            "number",
            "string"
          ]
        }
      }
    }
  },
  "additionalProperties": false
}
