diff --git a/src/ansiblelint/schemas/meta.json b/src/ansiblelint/schemas/meta.json index ca73287b0d..f40376e303 100644 --- a/src/ansiblelint/schemas/meta.json +++ b/src/ansiblelint/schemas/meta.json @@ -38,6 +38,25 @@ "title": "AlpinePlatformModel", "type": "object" }, + "AmazonLinuxPlatformModel": { + "properties": { + "name": { + "const": "Amazon Linux", + "title": "Name", + "type": "string" + }, + "versions": { + "default": "all", + "items": { + "enum": ["all", "1", "2", "2023"], + "type": "string" + }, + "type": "array" + } + }, + "title": "Amazon Linux 2PlatformModel", + "type": "object" + }, "AmazonPlatformModel": { "properties": { "name": { @@ -72,25 +91,6 @@ "title": "AmazonPlatformModel", "type": "object" }, - "Amazon_Linux_2PlatformModel": { - "properties": { - "name": { - "const": "Amazon Linux 2", - "title": "Name", - "type": "string" - }, - "versions": { - "default": "all", - "items": { - "enum": ["all"], - "type": "string" - }, - "type": "array" - } - }, - "title": "Amazon Linux 2PlatformModel", - "type": "object" - }, "ArchLinuxPlatformModel": { "properties": { "name": { @@ -1206,7 +1206,7 @@ "$ref": "#/$defs/AmazonPlatformModel" }, { - "$ref": "#/$defs/Amazon_Linux_2PlatformModel" + "$ref": "#/$defs/AmazonLinuxPlatformModel" }, { "$ref": "#/$defs/aosPlatformModel"