bible-technology / scripture-burrito

Scripture Burrito Schema & Docs 🌯
http://docs.burrito.bible/
MIT License
21 stars 13 forks source link

Use Case: New Burrito Created Offline #227

Open jag3773 opened 3 years ago

jag3773 commented 3 years ago

(related to #208)

Use Case

Creating a new burrito offline and uploading to an online idAuthority for the first time.

Autographa creates a new burrito and writes metadata like this:

"idServerKey": {
  "id": "https://127.0.0.1"
}

...

"idServer": "ag",

...

"ag": {
  "id": "uidhashthingy",
  "revision": "checksumhashthingy",
  "timestamp": "2020-11-19-11:30"
}

The receiving idAuthority would then add this to their catalog with their own id:

"ptx": {
  "id": "2880c78491b2f8ce",
  "revision": "sldfjiejsm",
  "timestamp": "2020-11-19-11:30"
}

The ptx idAuthority should return the id and revision, timestamp that it recorded in its system. Client application can save any of that but definitely the id would be useful in future interactions with idAuthorities.

jag3773 commented 3 years ago

As long as timestamp is implemented in #208 this use case is accounted for.

jag3773 commented 3 years ago

We need to document this in the RTD site. (We should create a dedicated "Use Cases" section in the docs).

jtauber commented 3 years ago

Does this use case help with my question in #235?