export interface Activity { eid: number; identity_Activity_Activity: number[]; /** * internal entity uri */ cwuri: string; actor_Activity_Person: number[]; actor_Activity_Naturalist: number[]; uri: string; date: string; source_Activity_Source: number[]; location_Activity_Location: number[]; cw_source_Activity_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Activity_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Activity_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Activity_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Activity_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Activity_Activity: number[]; } export interface Alignment { eid: number; identity_Alignment_Alignment: number[]; /** * internal entity uri */ cwuri: string; uri: string; has_text: string; source_Alignment_Source: number[]; confidence: number; date: string; cw_source_Alignment_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Alignment_CWUser: number[]; /** * generic relation to specify that an external entity represent the same object as a local one: http://www.w3.org/TR/owl-ref/#sameAs-def */ same_as_Alignment_Location: number[]; /** * generic relation to specify that an external entity represent the same object as a local one: http://www.w3.org/TR/owl-ref/#sameAs-def */ same_as_Alignment_Naturalist: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Alignment_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Alignment_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Alignment_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Alignment_Alignment: number[]; } /** * Authentication token */ export interface AuthToken { eid: number; identity_AuthToken_AuthToken: number[]; /** * internal entity uri */ cwuri: string; cw_source_AuthToken_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_AuthToken_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_AuthToken_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_AuthToken_CWUser: number[]; enabled: boolean; token: string; id: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_AuthToken_CWEType: number[]; token_for_user_AuthToken_CWUser: number[]; /** * latest modification time of an entity */ modification_date: string; identity_AuthToken_AuthToken: number[]; } export interface AuthorshipActivity extends Activity { eid: number; identity_AuthorshipActivity_AuthorshipActivity: number[]; actor_AuthorshipActivity_Person: number[]; actor_AuthorshipActivity_Naturalist: number[]; uri: string; date: string; source_AuthorshipActivity_Source: number[]; location_AuthorshipActivity_Location: number[]; created_AuthorshipActivity_Taxon: number[]; based_on_AuthorshipActivity_Specimen: number[]; /** * internal entity uri */ cwuri: string; cw_source_AuthorshipActivity_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_AuthorshipActivity_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_AuthorshipActivity_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_AuthorshipActivity_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_AuthorshipActivity_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_AuthorshipActivity_AuthorshipActivity: number[]; } /** * abstract base class for transitions */ export interface BaseTransition { eid: number; identity_BaseTransition_BaseTransition: number[]; /** * internal entity uri */ cwuri: string; name: string; type: string; description: string; description_format: string; /** * link a transition to one or more workflow */ transition_of_BaseTransition_Workflow: number[]; require_group_BaseTransition_CWGroup: number[]; cw_source_BaseTransition_CWSource: number[]; condition_BaseTransition_RQLExpression: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_BaseTransition_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_BaseTransition_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_BaseTransition_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_BaseTransition_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_BaseTransition_BaseTransition: number[]; by_transition_TrInfo_BaseTransition: number[]; /** * allowed transitions from this state */ allowed_transition_State_BaseTransition: number[]; } /** * bookmarks are used to have user's specific internal links */ export interface Bookmark { eid: number; identity_Bookmark_Bookmark: number[]; /** * internal entity uri */ cwuri: string; cw_source_Bookmark_CWSource: number[]; title: string; path: string; bookmarked_by_Bookmark_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Bookmark_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Bookmark_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Bookmark_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Bookmark_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Bookmark_Bookmark: number[]; } /** * define a final relation: link a final relation type from a non final entity to a final entity type. used to build the instance schema */ export interface CWAttribute { eid: number; identity_CWAttribute_CWAttribute: number[]; /** * internal entity uri */ cwuri: string; update_permission_CWAttribute_RQLExpression: number[]; update_permission_CWAttribute_CWGroup: number[]; cw_source_CWAttribute_CWSource: number[]; add_permission_CWAttribute_CWGroup: number[]; add_permission_CWAttribute_RQLExpression: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWAttribute_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWAttribute_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWAttribute_CWUser: number[]; /** * link a relation definition to its relation type */ relation_type_CWAttribute_CWRType: number[]; /** * link a relation definition to its subject entity type */ from_entity_CWAttribute_CWEType: number[]; /** * link a relation definition to its object entity type */ to_entity_CWAttribute_CWEType: number[]; /** * constraints applying on this relation */ constrained_by_CWAttribute_CWConstraint: number[]; cardinality: string; ordernum: number; formula: string; indexed: boolean; fulltextindexed: boolean; internationalizable: boolean; defaultval: string; extra_props: string; description: string; description_format: string; read_permission_CWAttribute_RQLExpression: number[]; read_permission_CWAttribute_CWGroup: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWAttribute_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWAttribute_CWAttribute: number[]; } /** * a simple cache entity characterized by a name and a validity date. The target application is responsible for updating timestamp when necessary to invalidate the cache (typically in hooks). Also, checkout the AppObject.get_cache() method. */ export interface CWCache { eid: number; identity_CWCache_CWCache: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWCache_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWCache_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWCache_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWCache_CWUser: number[]; name: string; timestamp: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWCache_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWCache_CWCache: number[]; } /** * define a virtual relation type, used to build the instance schema */ export interface CWComputedRType { eid: number; identity_CWComputedRType_CWComputedRType: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWComputedRType_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWComputedRType_CWUser: number[]; name: string; description: string; description_format: string; rule: string; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWComputedRType_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWComputedRType_CWUser: number[]; read_permission_CWComputedRType_RQLExpression: number[]; read_permission_CWComputedRType_CWGroup: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWComputedRType_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWComputedRType_CWComputedRType: number[]; } /** * define a schema constraint */ export interface CWConstraint { eid: number; identity_CWConstraint_CWConstraint: number[]; /** * internal entity uri */ cwuri: string; /** * constraint factory */ cstrtype_CWConstraint_CWConstraintType: number[]; value: string; cw_source_CWConstraint_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWConstraint_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWConstraint_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWConstraint_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWConstraint_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWConstraint_CWConstraint: number[]; /** * constraints applying on this relation */ constrained_by_CWRelation_CWConstraint: number[]; /** * constraints applying on this relation */ constrained_by_CWAttribute_CWConstraint: number[]; } /** * define a schema constraint type */ export interface CWConstraintType { eid: number; identity_CWConstraintType_CWConstraintType: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWConstraintType_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWConstraintType_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWConstraintType_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWConstraintType_CWUser: number[]; name: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWConstraintType_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWConstraintType_CWConstraintType: number[]; /** * constraint factory */ cstrtype_CWConstraint_CWConstraintType: number[]; } export interface CWDataImport { eid: number; identity_CWDataImport_CWDataImport: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWDataImport_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWDataImport_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWDataImport_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWDataImport_CWUser: number[]; cw_import_of_CWDataImport_CWSource: number[]; start_timestamp: string; end_timestamp: string; log: string; status: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWDataImport_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWDataImport_CWDataImport: number[]; } /** * define an entity type, used to build the instance schema */ export interface CWEType { eid: number; identity_CWEType_CWEType: number[]; delete_permission_CWEType_RQLExpression: number[]; delete_permission_CWEType_CWGroup: number[]; /** * internal entity uri */ cwuri: string; update_permission_CWEType_RQLExpression: number[]; update_permission_CWEType_CWGroup: number[]; /** * default workflow for an entity type */ default_workflow_CWEType_Workflow: number[]; cw_source_CWEType_CWSource: number[]; add_permission_CWEType_CWGroup: number[]; add_permission_CWEType_RQLExpression: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWEType_CWUser: number[]; name: string; description: string; description_format: string; final: boolean; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWEType_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWEType_CWUser: number[]; specializes_CWEType_CWEType: number[]; read_permission_CWEType_RQLExpression: number[]; read_permission_CWEType_CWGroup: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWEType_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWEType_CWEType: number[]; /** * link a relation definition to its subject entity type */ from_entity_CWRelation_CWEType: number[]; /** * link a relation definition to its subject entity type */ from_entity_CWAttribute_CWEType: number[]; /** * link a relation definition to its object entity type */ to_entity_CWRelation_CWEType: number[]; /** * link a relation definition to its object entity type */ to_entity_CWAttribute_CWEType: number[]; /** * link a workflow to one or more entity type */ workflow_of_Workflow_CWEType: number[]; constraint_of_CWUniqueTogetherConstraint_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Source_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_AuthorshipActivity_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Taxon_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_BaseTransition_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_SubWorkflowExitPoint_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_RQLExpression_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWRelation_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Alignment_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSourceHostConfig_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWProperty_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Activity_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Specimen_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Workflow_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_TrInfo_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_ExternalUri_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWConstraint_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWRType_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_ObservationActivity_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Bookmark_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Location_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWComputedRType_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSession_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWEType_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWUser_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Person_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWUniqueTogetherConstraint_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_AuthToken_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_EmailAddress_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Naturalist_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWCache_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_State_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Transition_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Country_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWConstraintType_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWAttribute_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Discipline_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWDataImport_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CollectActivity_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_WorkflowTransition_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWGroup_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_DeterminationActivity_CWEType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSource_CWEType: number[]; specializes_CWEType_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Source_CWEType: number[]; /** * core relation indicating the type of an entity */ is_AuthorshipActivity_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Taxon_CWEType: number[]; /** * core relation indicating the type of an entity */ is_BaseTransition_CWEType: number[]; /** * core relation indicating the type of an entity */ is_SubWorkflowExitPoint_CWEType: number[]; /** * core relation indicating the type of an entity */ is_RQLExpression_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWRelation_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Alignment_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWSourceHostConfig_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWProperty_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Activity_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Specimen_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Workflow_CWEType: number[]; /** * core relation indicating the type of an entity */ is_TrInfo_CWEType: number[]; /** * core relation indicating the type of an entity */ is_ExternalUri_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWConstraint_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWRType_CWEType: number[]; /** * core relation indicating the type of an entity */ is_ObservationActivity_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Bookmark_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Location_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWComputedRType_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWSession_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWEType_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWUser_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Person_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWUniqueTogetherConstraint_CWEType: number[]; /** * core relation indicating the type of an entity */ is_AuthToken_CWEType: number[]; /** * core relation indicating the type of an entity */ is_EmailAddress_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Naturalist_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWCache_CWEType: number[]; /** * core relation indicating the type of an entity */ is_State_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Transition_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Country_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWConstraintType_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWAttribute_CWEType: number[]; /** * core relation indicating the type of an entity */ is_Discipline_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWDataImport_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CollectActivity_CWEType: number[]; /** * core relation indicating the type of an entity */ is_WorkflowTransition_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWGroup_CWEType: number[]; /** * core relation indicating the type of an entity */ is_DeterminationActivity_CWEType: number[]; /** * core relation indicating the type of an entity */ is_CWSource_CWEType: number[]; } /** * define a CubicWeb users group */ export interface CWGroup { eid: number; identity_CWGroup_CWGroup: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWGroup_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWGroup_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWGroup_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWGroup_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWGroup_CWEType: number[]; name: string; /** * latest modification time of an entity */ modification_date: string; identity_CWGroup_CWGroup: number[]; require_group_BaseTransition_CWGroup: number[]; require_group_Transition_CWGroup: number[]; require_group_WorkflowTransition_CWGroup: number[]; add_permission_CWEType_CWGroup: number[]; add_permission_CWRelation_CWGroup: number[]; add_permission_CWAttribute_CWGroup: number[]; /** * core relation indicating a user's groups */ in_group_CWUser_CWGroup: number[]; delete_permission_CWEType_CWGroup: number[]; delete_permission_CWRelation_CWGroup: number[]; update_permission_CWEType_CWGroup: number[]; update_permission_CWAttribute_CWGroup: number[]; read_permission_CWEType_CWGroup: number[]; read_permission_CWAttribute_CWGroup: number[]; read_permission_CWRelation_CWGroup: number[]; read_permission_CWComputedRType_CWGroup: number[]; } /** * used for cubicweb configuration. Once a property has been created you can't change the key. */ export interface CWProperty { eid: number; identity_CWProperty_CWProperty: number[]; /** * internal entity uri */ cwuri: string; /** * link a property to the user which want this property customization. Unless you're a site manager, this relation will be handled automatically. */ for_user_CWProperty_CWUser: number[]; pkey: string; value: string; cw_source_CWProperty_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWProperty_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWProperty_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWProperty_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWProperty_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWProperty_CWProperty: number[]; } /** * define a relation type, used to build the instance schema */ export interface CWRType { eid: number; identity_CWRType_CWRType: number[]; /** * internal entity uri */ cwuri: string; name: string; description: string; description_format: string; symmetric: boolean; inlined: boolean; fulltext_container: string; final: boolean; cw_source_CWRType_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWRType_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWRType_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWRType_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWRType_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWRType_CWRType: number[]; /** * link a relation definition to its relation type */ relation_type_CWRelation_CWRType: number[]; /** * link a relation definition to its relation type */ relation_type_CWAttribute_CWRType: number[]; relations_CWUniqueTogetherConstraint_CWRType: number[]; } /** * define a non final relation: link a non final relation type from a non final entity to a non final entity type. used to build the instance schema */ export interface CWRelation { eid: number; identity_CWRelation_CWRelation: number[]; delete_permission_CWRelation_RQLExpression: number[]; delete_permission_CWRelation_CWGroup: number[]; /** * internal entity uri */ cwuri: string; /** * link a relation definition to its relation type */ relation_type_CWRelation_CWRType: number[]; /** * link a relation definition to its subject entity type */ from_entity_CWRelation_CWEType: number[]; /** * link a relation definition to its object entity type */ to_entity_CWRelation_CWEType: number[]; /** * constraints applying on this relation */ constrained_by_CWRelation_CWConstraint: number[]; cardinality: string; ordernum: number; composite: string; description: string; description_format: string; cw_source_CWRelation_CWSource: number[]; add_permission_CWRelation_CWGroup: number[]; add_permission_CWRelation_RQLExpression: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWRelation_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWRelation_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWRelation_CWUser: number[]; read_permission_CWRelation_RQLExpression: number[]; read_permission_CWRelation_CWGroup: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWRelation_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWRelation_CWRelation: number[]; } /** * Persistent session. Used by cubicweb.pyramid to store the session data. */ export interface CWSession { eid: number; identity_CWSession_CWSession: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWSession_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSession_CWUser: number[]; cwsessiondata: string; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSession_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSession_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWSession_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWSession_CWSession: number[]; } export interface CWSource { eid: number; identity_CWSource_CWSource: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWSource_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSource_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSource_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSource_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWSource_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; name: string; type: string; config: string; url: string; parser: string; latest_retrieval: string; in_synchronization: string; identity_CWSource_CWSource: number[]; cw_host_config_of_CWSourceHostConfig_CWSource: number[]; cw_source_Source_CWSource: number[]; cw_source_AuthorshipActivity_CWSource: number[]; cw_source_Taxon_CWSource: number[]; cw_source_BaseTransition_CWSource: number[]; cw_source_SubWorkflowExitPoint_CWSource: number[]; cw_source_RQLExpression_CWSource: number[]; cw_source_CWRelation_CWSource: number[]; cw_source_Alignment_CWSource: number[]; cw_source_CWSourceHostConfig_CWSource: number[]; cw_source_CWProperty_CWSource: number[]; cw_source_Activity_CWSource: number[]; cw_source_Specimen_CWSource: number[]; cw_source_Workflow_CWSource: number[]; cw_source_TrInfo_CWSource: number[]; cw_source_ExternalUri_CWSource: number[]; cw_source_CWConstraint_CWSource: number[]; cw_source_CWRType_CWSource: number[]; cw_source_ObservationActivity_CWSource: number[]; cw_source_Bookmark_CWSource: number[]; cw_source_Location_CWSource: number[]; cw_source_CWComputedRType_CWSource: number[]; cw_source_CWSession_CWSource: number[]; cw_source_CWEType_CWSource: number[]; cw_source_CWUser_CWSource: number[]; cw_source_Person_CWSource: number[]; cw_source_CWUniqueTogetherConstraint_CWSource: number[]; cw_source_AuthToken_CWSource: number[]; cw_source_EmailAddress_CWSource: number[]; cw_source_Naturalist_CWSource: number[]; cw_source_CWCache_CWSource: number[]; cw_source_State_CWSource: number[]; cw_source_Transition_CWSource: number[]; cw_source_Country_CWSource: number[]; cw_source_CWConstraintType_CWSource: number[]; cw_source_CWAttribute_CWSource: number[]; cw_source_Discipline_CWSource: number[]; cw_source_CWDataImport_CWSource: number[]; cw_source_CollectActivity_CWSource: number[]; cw_source_WorkflowTransition_CWSource: number[]; cw_source_CWGroup_CWSource: number[]; cw_source_DeterminationActivity_CWSource: number[]; cw_source_CWSource_CWSource: number[]; cw_import_of_CWDataImport_CWSource: number[]; } export interface CWSourceHostConfig { eid: number; identity_CWSourceHostConfig_CWSourceHostConfig: number[]; /** * internal entity uri */ cwuri: string; match_host: string; config: string; cw_host_config_of_CWSourceHostConfig_CWSource: number[]; cw_source_CWSourceHostConfig_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSourceHostConfig_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWSourceHostConfig_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSourceHostConfig_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWSourceHostConfig_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWSourceHostConfig_CWSourceHostConfig: number[]; } /** * defines a sql-level multicolumn unique index */ export interface CWUniqueTogetherConstraint { eid: number; identity_CWUniqueTogetherConstraint_CWUniqueTogetherConstraint: number[]; /** * internal entity uri */ cwuri: string; cw_source_CWUniqueTogetherConstraint_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWUniqueTogetherConstraint_CWUser: number[]; name: string; constraint_of_CWUniqueTogetherConstraint_CWEType: number[]; relations_CWUniqueTogetherConstraint_CWRType: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWUniqueTogetherConstraint_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWUniqueTogetherConstraint_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWUniqueTogetherConstraint_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWUniqueTogetherConstraint_CWUniqueTogetherConstraint: number[]; } /** * define a CubicWeb user */ export interface CWUser { eid: number; identity_CWUser_CWUser: number[]; use_email_CWUser_EmailAddress: number[]; has_text: string; /** * internal entity uri */ cwuri: string; primary_email_CWUser_EmailAddress: number[]; cw_source_CWUser_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWUser_CWUser: number[]; login: string; upassword: string; firstname: string; surname: string; last_login_time: string; /** * core relation indicating a user's groups */ in_group_CWUser_CWGroup: number[]; /** * allow to set a specific workflow for an entity */ custom_workflow_CWUser_Workflow: number[]; /** * indicate the current state of an entity */ in_state_CWUser_State: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CWUser_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWUser_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CWUser_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CWUser_CWUser: number[]; /** * link a property to the user which want this property customization. Unless you're a site manager, this relation will be handled automatically. */ for_user_CWProperty_CWUser: number[]; bookmarked_by_Bookmark_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Source_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_AuthorshipActivity_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Taxon_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_BaseTransition_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_SubWorkflowExitPoint_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_RQLExpression_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWRelation_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Alignment_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSourceHostConfig_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWProperty_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Activity_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Specimen_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Workflow_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_TrInfo_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_ExternalUri_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWConstraint_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWRType_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_ObservationActivity_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Bookmark_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Location_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWComputedRType_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSession_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWEType_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWUser_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Person_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWUniqueTogetherConstraint_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_AuthToken_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_EmailAddress_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Naturalist_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWCache_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_State_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Transition_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Country_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWConstraintType_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWAttribute_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Discipline_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWDataImport_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CollectActivity_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_WorkflowTransition_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWGroup_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_DeterminationActivity_CWUser: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CWSource_CWUser: number[]; /** * link a transition information to its object */ wf_info_for_TrInfo_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Source_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_AuthorshipActivity_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Taxon_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_BaseTransition_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_SubWorkflowExitPoint_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_RQLExpression_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWRelation_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Alignment_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSourceHostConfig_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWProperty_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Activity_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Specimen_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Workflow_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_TrInfo_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_ExternalUri_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWConstraint_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWRType_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_ObservationActivity_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Bookmark_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Location_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWComputedRType_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSession_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWEType_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWUser_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Person_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWUniqueTogetherConstraint_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_AuthToken_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_EmailAddress_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Naturalist_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWCache_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_State_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Transition_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Country_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWConstraintType_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWAttribute_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_Discipline_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWDataImport_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CollectActivity_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_WorkflowTransition_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWGroup_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_DeterminationActivity_CWUser: number[]; /** * core relation indicating the original creator of an entity */ created_by_CWSource_CWUser: number[]; token_for_user_AuthToken_CWUser: number[]; } export interface CollectActivity extends Activity { eid: number; identity_CollectActivity_CollectActivity: number[]; /** * internal entity uri */ cwuri: string; cw_source_CollectActivity_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_CollectActivity_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_CollectActivity_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_CollectActivity_CWUser: number[]; actor_CollectActivity_Person: number[]; actor_CollectActivity_Naturalist: number[]; uri: string; date: string; source_CollectActivity_Source: number[]; location_CollectActivity_Location: number[]; subject_CollectActivity_Specimen: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_CollectActivity_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_CollectActivity_CollectActivity: number[]; } export interface Country { eid: number; identity_Country_Country: number[]; /** * internal entity uri */ cwuri: string; cw_source_Country_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Country_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Country_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Country_CWUser: number[]; name: string; has_text: string; iso_alpha_2: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Country_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Country_Country: number[]; country_Location_Country: number[]; } export interface DeterminationActivity extends Activity { eid: number; identity_DeterminationActivity_DeterminationActivity: number[]; /** * internal entity uri */ cwuri: string; cw_source_DeterminationActivity_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_DeterminationActivity_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_DeterminationActivity_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_DeterminationActivity_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_DeterminationActivity_CWEType: number[]; actor_DeterminationActivity_Person: number[]; actor_DeterminationActivity_Naturalist: number[]; uri: string; date: string; source_DeterminationActivity_Source: number[]; location_DeterminationActivity_Location: number[]; subject_DeterminationActivity_Taxon: number[]; /** * latest modification time of an entity */ modification_date: string; identity_DeterminationActivity_DeterminationActivity: number[]; } export interface Discipline { eid: number; identity_Discipline_Discipline: number[]; /** * internal entity uri */ cwuri: string; cw_source_Discipline_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Discipline_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Discipline_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Discipline_CWUser: number[]; title: string; has_text: string; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Discipline_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Discipline_Discipline: number[]; worked_in_Naturalist_Discipline: number[]; } /** * an electronic mail address associated to a short alias */ export interface EmailAddress { eid: number; identity_EmailAddress_EmailAddress: number[]; /** * internal entity uri */ cwuri: string; cw_source_EmailAddress_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_EmailAddress_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_EmailAddress_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_EmailAddress_CWUser: number[]; alias: string; address: string; prefered_form_EmailAddress_EmailAddress: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_EmailAddress_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_EmailAddress_EmailAddress: number[]; use_email_CWUser_EmailAddress: number[]; primary_email_CWUser_EmailAddress: number[]; prefered_form_EmailAddress_EmailAddress: number[]; } /** * a URI representing an object in external data store */ export interface ExternalUri { eid: number; identity_ExternalUri_ExternalUri: number[]; /** * internal entity uri */ cwuri: string; uri: string; cw_source_ExternalUri_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_ExternalUri_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_ExternalUri_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_ExternalUri_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_ExternalUri_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_ExternalUri_ExternalUri: number[]; } export interface Location { eid: number; identity_Location_Location: number[]; /** * internal entity uri */ cwuri: string; cw_source_Location_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Location_CWUser: number[]; longitude: number; latitude: number; description: string; has_text: string; country_Location_Country: number[]; /** * generic relation to specify that an external entity represent the same object as a local one: http://www.w3.org/TR/owl-ref/#sameAs-def */ same_as_Location_Alignment: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Location_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Location_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Location_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Location_Location: number[]; location_AuthorshipActivity_Location: number[]; location_Activity_Location: number[]; location_ObservationActivity_Location: number[]; location_CollectActivity_Location: number[]; location_DeterminationActivity_Location: number[]; } export interface Naturalist extends Person { eid: number; identity_Naturalist_Naturalist: number[]; /** * internal entity uri */ cwuri: string; cw_source_Naturalist_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Naturalist_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Naturalist_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Naturalist_CWUser: number[]; firstname: string; has_text: string; lastname: string; birthdate: string; deathdate: string; worked_in_Naturalist_Discipline: number[]; /** * generic relation to specify that an external entity represent the same object as a local one: http://www.w3.org/TR/owl-ref/#sameAs-def */ same_as_Naturalist_Alignment: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Naturalist_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Naturalist_Naturalist: number[]; actor_AuthorshipActivity_Naturalist: number[]; actor_Activity_Naturalist: number[]; actor_ObservationActivity_Naturalist: number[]; actor_CollectActivity_Naturalist: number[]; actor_DeterminationActivity_Naturalist: number[]; } export interface ObservationActivity extends Activity { eid: number; identity_ObservationActivity_ObservationActivity: number[]; /** * internal entity uri */ cwuri: string; cw_source_ObservationActivity_CWSource: number[]; actor_ObservationActivity_Person: number[]; actor_ObservationActivity_Naturalist: number[]; uri: string; date: string; source_ObservationActivity_Source: number[]; location_ObservationActivity_Location: number[]; subject_ObservationActivity_Specimen: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_ObservationActivity_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_ObservationActivity_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_ObservationActivity_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_ObservationActivity_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_ObservationActivity_ObservationActivity: number[]; } export interface Person { eid: number; identity_Person_Person: number[]; /** * internal entity uri */ cwuri: string; cw_source_Person_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Person_CWUser: number[]; firstname: string; has_text: string; lastname: string; birthdate: string; deathdate: string; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Person_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Person_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Person_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Person_Person: number[]; actor_AuthorshipActivity_Person: number[]; actor_Activity_Person: number[]; actor_ObservationActivity_Person: number[]; actor_CollectActivity_Person: number[]; actor_DeterminationActivity_Person: number[]; } /** * define a rql expression used to define permissions */ export interface RQLExpression { eid: number; identity_RQLExpression_RQLExpression: number[]; /** * internal entity uri */ cwuri: string; exprtype: string; mainvars: string; expression: string; cw_source_RQLExpression_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_RQLExpression_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_RQLExpression_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_RQLExpression_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_RQLExpression_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_RQLExpression_RQLExpression: number[]; delete_permission_CWEType_RQLExpression: number[]; delete_permission_CWRelation_RQLExpression: number[]; update_permission_CWEType_RQLExpression: number[]; update_permission_CWAttribute_RQLExpression: number[]; condition_BaseTransition_RQLExpression: number[]; condition_Transition_RQLExpression: number[]; condition_WorkflowTransition_RQLExpression: number[]; read_permission_CWEType_RQLExpression: number[]; read_permission_CWAttribute_RQLExpression: number[]; read_permission_CWRelation_RQLExpression: number[]; read_permission_CWComputedRType_RQLExpression: number[]; add_permission_CWEType_RQLExpression: number[]; add_permission_CWRelation_RQLExpression: number[]; add_permission_CWAttribute_RQLExpression: number[]; } export interface Source { eid: number; identity_Source_Source: number[]; name: string; has_text: string; /** * internal entity uri */ cwuri: string; cw_source_Source_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Source_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Source_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Source_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Source_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Source_Source: number[]; source_AuthorshipActivity_Source: number[]; source_Alignment_Source: number[]; source_Activity_Source: number[]; source_ObservationActivity_Source: number[]; source_CollectActivity_Source: number[]; source_DeterminationActivity_Source: number[]; } export interface Specimen { eid: number; identity_Specimen_Specimen: number[]; /** * internal entity uri */ cwuri: string; uri: string; catalog_number: string; has_determination_Specimen_Taxon: number[]; cw_source_Specimen_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Specimen_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Specimen_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Specimen_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Specimen_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Specimen_Specimen: number[]; based_on_AuthorshipActivity_Specimen: number[]; subject_ObservationActivity_Specimen: number[]; subject_CollectActivity_Specimen: number[]; } /** * used to associate simple states to an entity type and/or to define workflows */ export interface State { eid: number; identity_State_State: number[]; /** * internal entity uri */ cwuri: string; cw_source_State_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_State_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_State_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_State_CWUser: number[]; name: string; description: string; description_format: string; /** * allowed transitions from this state */ allowed_transition_State_BaseTransition: number[]; /** * allowed transitions from this state */ allowed_transition_State_Transition: number[]; /** * allowed transitions from this state */ allowed_transition_State_WorkflowTransition: number[]; /** * link a state to one or more workflow */ state_of_State_Workflow: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_State_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_State_State: number[]; subworkflow_state_SubWorkflowExitPoint_State: number[]; /** * destination state of a transition */ destination_state_SubWorkflowExitPoint_State: number[]; /** * destination state of a transition */ destination_state_Transition_State: number[]; /** * indicate which state should be used by default when an entity using states is created */ initial_state_Workflow_State: number[]; from_state_TrInfo_State: number[]; to_state_TrInfo_State: number[]; /** * indicate the current state of an entity */ in_state_CWUser_State: number[]; } /** * define how we get out from a sub-workflow */ export interface SubWorkflowExitPoint { eid: number; identity_SubWorkflowExitPoint_SubWorkflowExitPoint: number[]; /** * internal entity uri */ cwuri: string; subworkflow_state_SubWorkflowExitPoint_State: number[]; /** * destination state of a transition */ destination_state_SubWorkflowExitPoint_State: number[]; cw_source_SubWorkflowExitPoint_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_SubWorkflowExitPoint_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_SubWorkflowExitPoint_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_SubWorkflowExitPoint_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_SubWorkflowExitPoint_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_SubWorkflowExitPoint_SubWorkflowExitPoint: number[]; subworkflow_exit_WorkflowTransition_SubWorkflowExitPoint: number[]; } export interface Taxon { eid: number; identity_Taxon_Taxon: number[]; name: string; has_text: string; regnum: string; phylum: string; classis: string; ordo: string; familia: string; genus: string; species: string; extinct: boolean; /** * internal entity uri */ cwuri: string; cw_source_Taxon_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Taxon_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Taxon_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Taxon_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Taxon_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Taxon_Taxon: number[]; created_AuthorshipActivity_Taxon: number[]; has_determination_Specimen_Taxon: number[]; subject_DeterminationActivity_Taxon: number[]; } /** * workflow history item */ export interface TrInfo { eid: number; identity_TrInfo_TrInfo: number[]; /** * internal entity uri */ cwuri: string; from_state_TrInfo_State: number[]; to_state_TrInfo_State: number[]; by_transition_TrInfo_BaseTransition: number[]; by_transition_TrInfo_Transition: number[]; by_transition_TrInfo_WorkflowTransition: number[]; comment: string; comment_format: string; tr_count: number; cw_source_TrInfo_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_TrInfo_CWUser: number[]; /** * link a transition information to its object */ wf_info_for_TrInfo_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_TrInfo_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_TrInfo_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_TrInfo_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_TrInfo_TrInfo: number[]; } /** * use to define a transition from one or multiple states to a destination states in workflow's definitions. Transition without destination state will go back to the state from which we arrived to the current state. */ export interface Transition extends BaseTransition { eid: number; identity_Transition_Transition: number[]; /** * internal entity uri */ cwuri: string; cw_source_Transition_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Transition_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Transition_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Transition_CWUser: number[]; name: string; type: string; description: string; description_format: string; /** * link a transition to one or more workflow */ transition_of_Transition_Workflow: number[]; /** * destination state of a transition */ destination_state_Transition_State: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Transition_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; condition_Transition_RQLExpression: number[]; require_group_Transition_CWGroup: number[]; identity_Transition_Transition: number[]; /** * allowed transitions from this state */ allowed_transition_State_Transition: number[]; by_transition_TrInfo_Transition: number[]; } export interface Workflow { eid: number; identity_Workflow_Workflow: number[]; /** * internal entity uri */ cwuri: string; name: string; description: string; description_format: string; /** * link a workflow to one or more entity type */ workflow_of_Workflow_CWEType: number[]; /** * indicate which state should be used by default when an entity using states is created */ initial_state_Workflow_State: number[]; cw_source_Workflow_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_Workflow_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_Workflow_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_Workflow_CWUser: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_Workflow_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; identity_Workflow_Workflow: number[]; /** * link a transition to one or more workflow */ transition_of_BaseTransition_Workflow: number[]; /** * link a transition to one or more workflow */ transition_of_Transition_Workflow: number[]; /** * link a transition to one or more workflow */ transition_of_WorkflowTransition_Workflow: number[]; /** * default workflow for an entity type */ default_workflow_CWEType_Workflow: number[]; /** * allow to set a specific workflow for an entity */ custom_workflow_CWUser_Workflow: number[]; /** * link a state to one or more workflow */ state_of_State_Workflow: number[]; subworkflow_WorkflowTransition_Workflow: number[]; } /** * special transition allowing to go through a sub-workflow */ export interface WorkflowTransition extends BaseTransition { eid: number; identity_WorkflowTransition_WorkflowTransition: number[]; /** * internal entity uri */ cwuri: string; cw_source_WorkflowTransition_CWSource: number[]; /** * core relation indicating owners of an entity. This relation implicitly put the owner into the owners group for the entity */ owned_by_WorkflowTransition_CWUser: number[]; /** * core relation indicating the types (including specialized types) of an entity */ is_instance_of_WorkflowTransition_CWEType: number[]; /** * core relation indicating the original creator of an entity */ created_by_WorkflowTransition_CWUser: number[]; name: string; type: string; description: string; description_format: string; /** * link a transition to one or more workflow */ transition_of_WorkflowTransition_Workflow: number[]; subworkflow_WorkflowTransition_Workflow: number[]; subworkflow_exit_WorkflowTransition_SubWorkflowExitPoint: number[]; /** * creation time of an entity */ creation_date: string; /** * core relation indicating the type of an entity */ is_WorkflowTransition_CWEType: number[]; /** * latest modification time of an entity */ modification_date: string; condition_WorkflowTransition_RQLExpression: number[]; require_group_WorkflowTransition_CWGroup: number[]; identity_WorkflowTransition_WorkflowTransition: number[]; /** * allowed transitions from this state */ allowed_transition_State_WorkflowTransition: number[]; by_transition_TrInfo_WorkflowTransition: number[]; }