comparison sat_pubsub/const.py @ 352:efbdca10f0fb

schema: node schema implementation node schema is an experimental (not standard yet, protoXEP should follow) feature allowing to attach a data schema to a node. This commit implement it and method needed to retrieve/set a schema.
author Goffi <goffi@goffi.org>
date Fri, 08 Sep 2017 08:02:05 +0200
parents 82d1259b3e36
children 18b983fe9e1b
comparison
equal deleted inserted replaced
351:2098295747fd 352:efbdca10f0fb
54 NS_CLIENT = 'jabber:client' 54 NS_CLIENT = 'jabber:client'
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'
60 NS_SCHEMA_FORM = 'https://salut-a-toi/protocol/schema#schema:0'
61 NS_SCHEMA_RESTRICT = 'https://salut-a-toi/protocol/schema#restrict:0'
62
59 OPT_ACCESS_MODEL = 'pubsub#access_model' 63 OPT_ACCESS_MODEL = 'pubsub#access_model'
60 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed' 64 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed'
61 OPT_PERSIST_ITEMS = "pubsub#persist_items" 65 OPT_PERSIST_ITEMS = "pubsub#persist_items"
62 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads" 66 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads"
63 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item" 67 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item"