comparison sat_pubsub/const.py @ 361:a92f482ff14f

schema: allow free FORM_TYPE as this is used for items validation, and should not be in schema namespace
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 18:27:18 +0200
parents 18b983fe9e1b
children 9fbb31ce495b
comparison
equal deleted inserted replaced
360:6350622d9eb9 361:a92f482ff14f
55 NS_GROUPBLOG_PREFIX = 'urn:xmpp:groupblog:' 55 NS_GROUPBLOG_PREFIX = 'urn:xmpp:groupblog:'
56 NS_ITEM_CONFIG = "http://jabber.org/protocol/pubsub#item-config" 56 NS_ITEM_CONFIG = "http://jabber.org/protocol/pubsub#item-config"
57 NS_ATOM = "http://www.w3.org/2005/Atom" 57 NS_ATOM = "http://www.w3.org/2005/Atom"
58 NS_FORWARD = 'urn:xmpp:forward:0' 58 NS_FORWARD = 'urn:xmpp:forward:0'
59 NS_SCHEMA = 'https://salut-a-toi/protocol/schema:0' 59 NS_SCHEMA = 'https://salut-a-toi/protocol/schema:0'
60 NS_SCHEMA_FORM = 'https://salut-a-toi/protocol/schema#schema:0'
61 NS_SCHEMA_RESTRICT = 'https://salut-a-toi/protocol/schema#restrict:0' 60 NS_SCHEMA_RESTRICT = 'https://salut-a-toi/protocol/schema#restrict:0'
62 61
63 OPT_ACCESS_MODEL = 'pubsub#access_model' 62 OPT_ACCESS_MODEL = 'pubsub#access_model'
64 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed' 63 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed'
65 OPT_PERSIST_ITEMS = "pubsub#persist_items" 64 OPT_PERSIST_ITEMS = "pubsub#persist_items"