{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "items": {
            "type": "array",
            "items": {
                "title": "Experience Version",
                "description": "Schema for a single Experience Version",
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "pattern": "^[A-Fa-f\\d]{24}$"
                    },
                    "experienceVersionId": {
                        "type": "string",
                        "pattern": "^[A-Fa-f\\d]{24}$"
                    },
                    "applicationId": {
                        "type": "string",
                        "pattern": "^[A-Fa-f\\d]{24}$"
                    },
                    "creationDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdById": {
                        "type": "string",
                        "pattern": "^[A-Fa-f\\d]{24}$"
                    },
                    "createdByType": {
                        "type": "string",
                        "enum": [
                            "flow",
                            "user",
                            "apiToken"
                        ]
                    },
                    "lastUpdated": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endpointDefaultCors": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255
                    },
                    "description": {
                        "type": "string",
                        "maxLength": 32767
                    },
                    "attachedDomains": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "domainName": {
                                    "type": "string",
                                    "maxLength": 1024,
                                    "minLength": 3
                                },
                                "id": {
                                    "type": "string",
                                    "pattern": "^[A-Fa-f\\d]{24}$"
                                }
                            }
                        }
                    },
                    "attachedSlugs": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "slug": {
                                    "type": "string"
                                },
                                "id": {
                                    "type": "string",
                                    "pattern": "^[A-Fa-f\\d]{24}$"
                                }
                            }
                        }
                    }
                }
            }
        },
        "count": {
            "type": "integer"
        },
        "totalCount": {
            "type": "integer"
        },
        "applicationId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        }
    }
}