Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions synapse/models/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@
),
'doc': 'A hierarchical taxonomy of contract types.'}),

('doc:document', ('ndef', {'interface': 'doc:document'}), {
'doc': 'A node which implements the document interface.'}),

('doc:reference', ('guid', {}), {
'doc': 'A referrence or citation included in a document.'}),

),
'edges': (
(('doc:contract', 'has', 'doc:requirement'), {
Expand Down Expand Up @@ -250,6 +256,21 @@
('terminated', ('time', {}), {
'doc': 'The date that the contract was terminated.'}),
)),

('doc:reference', {}, (

('document', ('doc:document', {}), {
'doc': 'The document which contains the reference.'}),

('citation', ('str', {}), {
'doc': 'A citation string included in the document.'}),

('cites', ('doc:document', {}), {
'doc': 'The document which the reference refers to.'}),

('cites:url', ('inet:url', {}), {
'doc': 'A URL included in the document to locate the referenced document.'}),
)),
),
'edges': (),
}),
Expand Down