{
    "additionalProperties": false,
    "definitions": {
        "ContentTypeType": {
            "additionalProperties": false,
            "oneOf": [
                {
                    "$ref": "#/definitions/textTypeType"
                },
                {
                    "$ref": "#/definitions/MimeType"
                }
            ],
            "type": "object"
        },
        "KnownRelCodeType": {
            "description": "alternate: The value \"alternate\" signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.related: The value \"related\" signifies that the IRI in the value of the href attribute identifies a resource related to the resource described by the containing element. For example, the feed for a site that discusses the performance of the search engine at \"http://search.example.com\" might contain, as a child of atom:feed. An identical link might appear as a child of any atom:entry whose content contains a discussion of that same search engine.self: The value \"self\" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.enclosure: The value \"enclosure\" signifies that the IRI in the value of the href attribute identifies a related resource that is potentially large in size and might require special handling. For atom:link elements with rel=\"enclosure\", the length attribute SHOULD be provided.via: The value \"via\" signifies that the IRI in the value of the href attribute identifies a resource that is the source of the information provided in the containing element.",
            "enum": [
                "alternate",
                "related",
                "self",
                "enclosure",
                "via"
            ],
            "type": "string"
        },
        "MimeType": {
            "description": "XML encoded identifier of a standard MIME type, possibly a parameterized MIME type. Copied from ows 2.0.1",
            "pattern": "(application|audio|image|text|video|message|multipart|model)/.+(;\\s*.+=.+)*",
            "type": "string"
        },
        "RelCodeType": {
            "additionalProperties": false,
            "oneOf": [
                {
                    "$ref": "#/definitions/KnownRelCodeType"
                },
                {
                    "type": "string"
                }
            ],
            "type": "object"
        },
        "categoryType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes",
                    "required": [
                        "term"
                    ]
                },
                {
                    "properties": {
                        "label": {
                            "type": "string"
                        },
                        "scheme": {
                            "format": "uri",
                            "type": "string"
                        },
                        "term": {
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom category construct is defined in section 4.2.2 of the format spec.",
            "type": "object"
        },
        "commonAttributes": {
            "additionalProperties": true,
            "properties": {
                "xml:base": {
                    "type": "string"
                },
                "xml:lang": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "contentType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "src": {
                            "format": "uri",
                            "type": "string"
                        },
                        "type": {
                            "$ref": "#/definitions/ContentTypeType"
                        }
                    }
                }
            ],
            "description": "The Atom content construct is defined in section 4.1.3 of the format spec.",
            "type": "object"
        },
        "dateTimeType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "format": "date-time",
                            "type": "string"
                        }
                    }
                }
            ],
            "type": "object"
        },
        "emailType": {
            "description": "Schema definition for an email address.",
            "pattern": "\\w+@(\\w+\\.)+\\w+",
            "type": "string"
        },
        "entry": {
            "$ref": "#/definitions/entryType"
        },
        "entryType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "author": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "category": {
                            "items": {
                                "$ref": "#/definitions/categoryType"
                            },
                            "type": "array"
                        },
                        "content": {
                            "$ref": "#/definitions/contentType"
                        },
                        "contributor": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "id": {
                            "$ref": "#/definitions/idType"
                        },
                        "link": {
                            "items": {
                                "$ref": "#/definitions/linkType"
                            },
                            "type": "array"
                        },
                        "published": {
                            "$ref": "#/definitions/dateTimeType"
                        },
                        "rights": {
                            "$ref": "#/definitions/textType"
                        },
                        "source": {
                            "$ref": "#/definitions/textType"
                        },
                        "summary": {
                            "$ref": "#/definitions/textType"
                        },
                        "title": {
                            "$ref": "#/definitions/textType"
                        },
                        "updated": {
                            "$ref": "#/definitions/dateTimeType"
                        }
                    }
                }
            ],
            "description": "The Atom entry construct is defined in section 4.1.2 of the format spec.",
            "type": "object"
        },
        "feedType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "author": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "category": {
                            "items": {
                                "$ref": "#/definitions/categoryType"
                            },
                            "type": "array"
                        },
                        "contributor": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "entry": {
                            "items": {
                                "$ref": "#/definitions/entryType"
                            },
                            "type": "array"
                        },
                        "generator": {
                            "$ref": "#/definitions/generatorType"
                        },
                        "icon": {
                            "$ref": "#/definitions/iconType"
                        },
                        "id": {
                            "$ref": "#/definitions/idType"
                        },
                        "link": {
                            "items": {
                                "$ref": "#/definitions/linkType"
                            },
                            "type": "array"
                        },
                        "logo": {
                            "$ref": "#/definitions/logoType"
                        },
                        "rights": {
                            "$ref": "#/definitions/textType"
                        },
                        "subtitle": {
                            "$ref": "#/definitions/textType"
                        },
                        "title": {
                            "$ref": "#/definitions/textType"
                        },
                        "updated": {
                            "$ref": "#/definitions/dateTimeType"
                        }
                    }
                }
            ],
            "description": "The Atom feed construct is defined in section 4.1.1 of the format spec.",
            "type": "object"
        },
        "generatorType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "type": "string"
                        },
                        "uri": {
                            "format": "uri",
                            "type": "string"
                        },
                        "version": {
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom generator element is defined in section 4.2.4 of the format spec.",
            "type": "object"
        },
        "iconType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "format": "uri",
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom icon construct is defined in section 4.2.5 of the format spec.",
            "type": "object"
        },
        "idType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "format": "uri",
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom id construct is defined in section 4.2.6 of the format spec.",
            "type": "object"
        },
        "linkType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes",
                    "required": [
                        "href"
                    ]
                },
                {
                    "properties": {
                        "href": {
                            "format": "uri",
                            "type": "string"
                        },
                        "hreflang": {
                            "type": "string"
                        },
                        "length": {
                            "minimum": 1,
                            "type": "integer"
                        },
                        "rel": {
                            "$ref": "#/definitions/RelCodeType"
                        },
                        "title": {
                            "type": "string"
                        },
                        "type": {
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom link construct is defined in section 3.4 of the format spec.",
            "type": "object"
        },
        "logoType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "format": "uri",
                            "type": "string"
                        }
                    }
                }
            ],
            "description": "The Atom logo construct is defined in section 4.2.8 of the format spec.",
            "type": "object"
        },
        "personType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "email": {
                            "$ref": "#/definitions/emailType"
                        },
                        "name": {
                            "type": "string"
                        },
                        "uri": {
                            "$ref": "#/definitions/uriType"
                        }
                    }
                }
            ],
            "description": "The Atom person construct is defined in section 3.2 of the format spec.",
            "type": "object"
        },
        "sourceType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "author": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "category": {
                            "items": {
                                "$ref": "#/definitions/categoryType"
                            },
                            "type": "array"
                        },
                        "contributor": {
                            "items": {
                                "$ref": "#/definitions/personType"
                            },
                            "type": "array"
                        },
                        "generator": {
                            "$ref": "#/definitions/generatorType"
                        },
                        "icon": {
                            "$ref": "#/definitions/iconType"
                        },
                        "id": {
                            "$ref": "#/definitions/idType"
                        },
                        "link": {
                            "items": {
                                "$ref": "#/definitions/linkType"
                            },
                            "type": "array"
                        },
                        "logo": {
                            "$ref": "#/definitions/logoType"
                        },
                        "rights": {
                            "$ref": "#/definitions/textType"
                        },
                        "subtitle": {
                            "$ref": "#/definitions/textType"
                        },
                        "title": {
                            "$ref": "#/definitions/textType"
                        },
                        "updated": {
                            "$ref": "#/definitions/dateTimeType"
                        }
                    }
                }
            ],
            "description": "The Atom source construct is defined in section 4.2.11 of the format spec.",
            "type": "object"
        },
        "textType": {
            "additionalProperties": true,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "type": {
                            "$ref": "#/definitions/textTypeType"
                        }
                    }
                }
            ],
            "description": "The Atom text construct is defined in section 3.1 of the format spec.",
            "type": "object"
        },
        "textTypeType": {
            "enum": [
                "text",
                "html",
                "xhtml"
            ],
            "type": "string"
        },
        "uriType": {
            "additionalProperties": false,
            "anyOf": [
                {
                    "$ref": "#/definitions/commonAttributes"
                },
                {
                    "properties": {
                        "#text": {
                            "format": "uri",
                            "type": "string"
                        }
                    }
                }
            ],
            "type": "object"
        }
    },
    "description": "This version of the Atom schema is based on version 1.0 of the format specifications, found here http://www.atomenabled.org/developers/syndication/atom-format-spec.php. The original namespace was http://www.w3.org/2005/Atom but we changed it to http://www.opengis.net/atom/2005 to avoid conflicting definitions of the same namespace in the future. NOT DONE YET. There is no XSD official schema for atom but this one seems to be the most known: http://www.kbcafe.com/rss/atom.xsd.xml (The Atom Publishing Protocol was issued as a Proposed Standard in IETF RFC 5023 in October 2007 http://tools.ietf.org/html/rfc5023)\nAn Atom document may have two root elements, feed and entry, as defined in section 2.",
    "properties": {
        "feed": {
            "$ref": "#/definitions/feedType"
        }
    },
    "required": [
        "feed"
    ],
    "title": "test/atomSchema.xsd",
    "type": "object"
}