Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Documentation
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rachael Hu
Documentation
Commits
df6b32ac
Commit
df6b32ac
authored
Jan 11, 2016
by
Robbie Hott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added specs for metadata
parent
8623416c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
Metadata.md
Specifications/Metadata.md
+25
-0
No files found.
Specifications/Metadata.md
0 → 100644
View file @
df6b32ac
# Metadata
Each piece of first-order data in the database may have metadata associated with it. The information the database will keep track of is:
*
_source citation_ : The citation associated with this particular first-order data.
*
_sub citation_ : The part of the citation associated with this first-order data (i.e. "page 5").
*
_source data_ : The text found in the citation related to this first-order data. This is an "as seen" field.
*
_descriptive rules_ : The rules associated with creating this first-order data from the source citation.
*
_note_ : The note from the user associated with this citation and first-order data.
This specification leads to a SQL database with the following structure:
```
id int primary key default nextval('id_seq'), -- id for Metadata
fk_id int , -- FK to data described
fk_table text , -- table name for FK
version int , -- version from version_history
citation int , -- FK to source table
sub_citation text , -- subcitation information
source_data text , -- source data
descriptive_rules text , -- FK to vocabulary
note text -- human-readable note
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment