diff options
author | enen92 <92enen@gmail.com> | 2018-08-02 18:47:53 +0100 |
---|---|---|
committer | enen92 <92enen@gmail.com> | 2018-08-08 15:44:11 +0100 |
commit | a5d62706def105e242600b9b988db2b6331b12b6 (patch) | |
tree | 9d8e1a54f2df72291398e3a61322b8f65caa14e7 /addons/xbmc.metadata | |
parent | 542f6c4dc369070dc75d5175f94c6bc27df70adb (diff) |
[schemas] restrict all possible values for extension point attributes
Diffstat (limited to 'addons/xbmc.metadata')
-rw-r--r-- | addons/xbmc.metadata/scraper.xsd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/xbmc.metadata/scraper.xsd b/addons/xbmc.metadata/scraper.xsd index 7843f4dca2..edcf97b3a0 100644 --- a/addons/xbmc.metadata/scraper.xsd +++ b/addons/xbmc.metadata/scraper.xsd @@ -3,8 +3,8 @@ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="extension"> <xs:complexType> - <xs:attribute name="point" type="xs:string" use="required"/> - <xs:attribute name="id" type="simpleIdentifier"/> + <xs:attribute name="point" type="simpleIdentifier" use="required"/> + <xs:attribute name="id" type="xs:string"/> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="library" type="xs:string" use="required"/> <xs:attribute name="language" type="xs:string"/> @@ -14,7 +14,7 @@ </xs:element> <xs:simpleType name="simpleIdentifier"> <xs:restriction base="xs:string"> - <xs:pattern value="[^.]+"/> + <xs:pattern value="xbmc\.metadata\.scraper\.(albums|artists|library|movies|musicvideos|tvshows)"/> </xs:restriction> </xs:simpleType> </xs:schema> |