dev
Documentation icon Module documentation
[create]

The documentation for this module is missing. Click here to create it.

return {
    ["xs:schema"] = {
        _attr = {
            ["xmlns:xs"] = "http://www.w3.org/2001/XMLSchema"
        },
        ["xs:element"] = {
            {
                _attr = {
                    name = "group"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        {
                            _attr = {
                                name = "layout",
                                type = "piGroupLayout"
                            }
                        },
                        {
                            _attr = {
                                name = "show",
                                type = "pigroupShow"
                            }
                        },
                        {
                            _attr = {
                                name = "collapse",
                                type = "piGroupCollapse"
                            }
                        },
                        {
                            _attr = {
                                name = "row-items",
                                type = "xs:int"
                            }
                        },
                        {
                            _attr = {
                                name = "name",
                                type = "xs:string"
                            }
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "panel"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "header"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "title"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "image"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "navigation"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "data"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "panel"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        _attr = {
                            name = "name",
                            type = "xs:string"
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "section"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "header"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "section"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        _attr = {
                            name = "name",
                            type = "xs:string"
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "label"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "group"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "header"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "title"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "image"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "navigation"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "data"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "header"
                },
                ["xs:complexType"] = {
                    ["xs:simpleContent"] = {
                        ["xs:extension"] = {
                            _attr = {
                                base = "xs:string"
                            },
                            ["xs:attribute"] = {
                                _attr = {
                                    name = "name",
                                    type = "xs:string"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "navigation"
                },
                ["xs:complexType"] = {
                    ["xs:simpleContent"] = {
                        ["xs:extension"] = {
                            _attr = {
                                base = "xs:string"
                            },
                            ["xs:attribute"] = {
                                _attr = {
                                    name = "name",
                                    type = "xs:string"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "title"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        {
                            _attr = {
                                name = "source",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "name",
                                type = "xs:string"
                            }
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    ref = "format"
                                }
                            },
                            {
                                _attr = {
                                    ref = "default"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "data"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        {
                            _attr = {
                                name = "source",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "span",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "layout",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "name",
                                type = "xs:string"
                            }
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    ref = "label"
                                }
                            },
                            {
                                _attr = {
                                    ref = "format"
                                }
                            },
                            {
                                _attr = {
                                    ref = "default"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "label",
                    type = "xs:string"
                }
            },
            {
                _attr = {
                    name = "format",
                    type = "xs:string"
                }
            },
            {
                _attr = {
                    name = "default",
                    type = "xs:string"
                }
            },
            {
                _attr = {
                    name = "image"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        _attr = {
                            name = "source",
                            type = "xs:string"
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "alt"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "caption"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "default"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "alt"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        _attr = {
                            name = "source",
                            type = "xs:string"
                        }
                    },
                    ["xs:choice"] = {
                        ["xs:element"] = {
                            _attr = {
                                minOccurs = "0",
                                ref = "default"
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "caption"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        _attr = {
                            name = "source",
                            type = "xs:string"
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "format"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "1",
                                    ref = "default"
                                }
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "infobox"
                },
                ["xs:complexType"] = {
                    ["xs:attribute"] = {
                        {
                            _attr = {
                                name = "layout"
                            },
                            ["xs:simpleType"] = {
                                ["xs:restriction"] = {
                                    _attr = {
                                        base = "piInfoboxLayout"
                                    }
                                }
                            }
                        },
                        {
                            _attr = {
                                name = "name",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "theme",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "theme-source",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "type",
                                type = "xs:string"
                            }
                        },
                        {
                            _attr = {
                                name = "accent-color-source"
                            },
                            ["xs:simpleType"] = {
                                ["xs:restriction"] = {
                                    _attr = {
                                        base = "piColor"
                                    }
                                }
                            }
                        },
                        {
                            _attr = {
                                name = "accent-color-default"
                            },
                            ["xs:simpleType"] = {
                                ["xs:restriction"] = {
                                    _attr = {
                                        base = "piColor"
                                    }
                                }
                            }
                        },
                        {
                            _attr = {
                                name = "accent-color-text-source"
                            },
                            ["xs:simpleType"] = {
                                ["xs:restriction"] = {
                                    _attr = {
                                        base = "piColor"
                                    }
                                }
                            }
                        },
                        {
                            _attr = {
                                name = "accent-color-text-default"
                            },
                            ["xs:simpleType"] = {
                                ["xs:restriction"] = {
                                    _attr = {
                                        base = "piColor"
                                    }
                                }
                            }
                        }
                    },
                    ["xs:choice"] = {
                        _attr = {
                            maxOccurs = "unbounded"
                        },
                        ["xs:element"] = {
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "group"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "panel"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "title"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "image"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "navigation"
                                }
                            },
                            {
                                _attr = {
                                    maxOccurs = "unbounded",
                                    ref = "data"
                                }
                            }
                        }
                    }
                }
            }
        },
        ["xs:simpleType"] = {
            {
                _attr = {
                    name = "piColor"
                },
                ["xs:restriction"] = {
                    _attr = {
                        base = "xs:string"
                    },
                    ["xs:pattern"] = {
                        _attr = {
                            value = "[a-f0-9]{3}([a-f0-9]{3})?)"
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "piInfoboxLayout"
                },
                ["xs:restriction"] = {
                    _attr = {
                        base = "xs:string"
                    },
                    ["xs:enumeration"] = {
                        {
                            _attr = {
                                value = "default"
                            }
                        },
                        {
                            _attr = {
                                value = "stacked"
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "piGroupLayout"
                },
                ["xs:restriction"] = {
                    _attr = {
                        base = "xs:string"
                    },
                    ["xs:enumeration"] = {
                        {
                            _attr = {
                                value = "default"
                            }
                        },
                        {
                            _attr = {
                                value = "horizontal"
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "pigroupShow"
                },
                ["xs:restriction"] = {
                    _attr = {
                        base = "xs:string"
                    },
                    ["xs:enumeration"] = {
                        {
                            _attr = {
                                value = "default"
                            }
                        },
                        {
                            _attr = {
                                value = "incomplete"
                            }
                        }
                    }
                }
            },
            {
                _attr = {
                    name = "piGroupCollapse"
                },
                ["xs:restriction"] = {
                    _attr = {
                        base = "xs:string"
                    },
                    ["xs:enumeration"] = {
                        {
                            _attr = {
                                value = "open"
                            }
                        },
                        {
                            _attr = {
                                value = "closed"
                            }
                        }
                    }
                }
            }
        }
    }
}