diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-08-12 19:21:39 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-08-12 19:21:39 +0000 |
commit | 52f2aee49e098f590214ce47132afab5991c04b9 (patch) | |
tree | f2542585d27203c08237914877d09eae8e86a510 /schemas | |
parent | d75af506e46e730672f7d5e1eb14a421dacb0ba4 (diff) | |
download | bcfg2-52f2aee49e098f590214ce47132afab5991c04b9.tar.gz bcfg2-52f2aee49e098f590214ce47132afab5991c04b9.tar.bz2 bcfg2-52f2aee49e098f590214ce47132afab5991c04b9.zip |
add file version
2004/08/12 14:01:29-05:00 anl.gov!desai
(Logical change 1.41)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@241 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/metadata.xsd | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd index e69de29bb..9a6ba0f01 100644 --- a/schemas/metadata.xsd +++ b/schemas/metadata.xsd @@ -0,0 +1,52 @@ +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + + <xsd:annotation> + <xsd:documentation> + metadata schema for bcfg2 + Narayan Desai, Argonne National Laboratory + $Id: $ + </xsd:documentation> + </xsd:annotation> + + <xsd:complexType name='ClientType'> + <xsd:choice minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='Class'> + <xsd:complexType> + <xsd:attribute type='xsd:string' name='name' use='required'/> + </xsd:complexType> + </xsd:element> + <xsd:element name='Attribute'> + <xsd:complexType> + <xsd:attribute name='name' type='xsd:string' + use='required'/> + <xsd:attribute name='scope' type='xsd:string' + use='required'/> + </xsd:complexType> + </xsd:element> + </xsd:choice> + <xsd:attribute type='xsd:string' name='name' use='required'/> + <xsd:attribute type='xsd:string' name='image' use='required'/> + </xsd:complexType> + + <xsd:complexType name='ClassType'> + <xsd:choice minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='Bundle'> + <xsd:complexType> + <xsd:attribute type='xsd:string' name='name' use='required'/> + </xsd:complexType> + </xsd:element> + </xsd:choice> + <xsd:attribute type='xsd:string' name='name' use='required'/> + </xsd:complexType> + + <xsd:element name='Metadata'> + <xsd:complexType> + <xsd:choice minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='Client' type='ClientType'/> + <xsd:element name='Class' type='ClassType'/> + </xsd:choice> + <xsd:attribute name='version' type='xsd:string'/> + </xsd:complexType> + </xsd:element> + +</xsd:schema>
\ No newline at end of file |