jducoeur: (Default)
[personal profile] jducoeur
Some time ago, [livejournal.com profile] msmemory and I sat down and hashed out a tentative schema for an Order of Precedence database, designed to reflect all of the information she is currently tracking by hand. I've been busy enough on CommYou and other projects that I haven't managed to code the thing up yet (the difficulty of having a thousand interesting projects on tap at any given time), but I don't want to lose track of it. And since the cats keep knocking over the whiteboard, I'd better transcribe it before they manage to erase it completely.

So the following are our notes on the OP schema. It's a bit informal, but should be good enough to get the point across. It's described in terms of data type; these might or might not all actually wind up DB tables, but they're the conceptual objects and relationships we need to track. (In particular, when I say "Enumeration" below, it means a relatively finite list, but they might be represented as either real enumerations or small tables.) Note that most pointers may be null -- the sad reality is that information is often incomplete. It's by no means final, but it's mostly right.

This is potentially interesting to programming or heraldry/OP geeks, and probably not to anyone else.

In no particular order (well, in the order they wound up in the white board sketch):

Crowned Head
Type: Crown Type
Name: SCA Name
Group: Group

Crown Type
Enumeration -- King, Baron, Prince, etc.

Group
Name: String
Type: Group Type
Contained By: Group

Group Type
Enumeration -- Kingdom, Barony, Shire, etc.

SCA Name
Name: String
Person: Person
IsRegistered: Boolean
Gender/Type: Gender/Type

Gender/Type
Enumeration: Unknown, Male, Female, Collective

Person
Primary Name: SCA Name
Resides In: Group
Current Mundane Name: Mundane Name
Registered Arms: String
Is Collective: Boolean
Is Living: Boolean

Mundane Name
Name: String
Person: Person
Gender/Type: Gender/Type

Award Level
Enumeration: Peerage, Upper Kingdom, Lower Kingdom, etc.

Award
Name: String ("Laurel", "Crescent", "AoA", etc)
Group: Group
Level: Award Level

Court
Crown 1, Crown 2: Crowned Head
Date: Date
Name of Court: String (optional, eg, "First Court of TRM")
Event: Event
Sequence: Integer (eg, first, second, third court of the event)

Event
Name: String
Hosting Group: Group

Bestowal
Court: Court
Recipient: SCA Name
Award: Award
Sequence: Integer
Data Source: Data Source (where we got the info from)
As Part Of: SCA Name (collective)

Data Source
Enumeration -- Court Report, Heard from Recipient, Other Kingdom OP, etc

(no subject)

Date: 2008-11-22 08:21 pm (UTC)
From: [identity profile] rufinia.livejournal.com
Out of curiousity, why do you think the "mundane name" is necessary?

(no subject)

Date: 2008-11-22 08:29 pm (UTC)
tpau: (Default)
From: [personal profile] tpau
i would think if nothing else it ties together two personae of the same person

(no subject)

Date: 2008-11-22 08:35 pm (UTC)
From: [identity profile] msmemory.livejournal.com
Right.
Freydis Ragnarsdottir and Luke Knowlton, both personae of L. Pearson.

It's also useful for disambiguating two people with similar/identical SCA names. ("Elizabeth of Ostgardr, mka Liz Doe; Elisabeth of Ostgardr, mka Beth Smith.")

(no subject)

Date: 2008-11-22 08:36 pm (UTC)
From: [identity profile] rufinia.livejournal.com
I don't know if that's neccesary. I don't know the structure, but the Midrealm OP combines them- in my entry, my AoA came under "Typheinne de la Croix" but the Court barony is under Aurelia Rufina, and either name takes you to the combined entry under Aurelia Rufina with a note "WAS Typheinne de la Croix." If people would rather not have thier mundane names involved, I don't think it's needed.



(no subject)

Date: 2008-11-22 08:44 pm (UTC)
From: [identity profile] msmemory.livejournal.com
You still need some name under which to centralize each person's stuff. I could see an argument for using the SCA name, but I think it makes more work. Some people change their names several times, and I often see lots of spellings even of one correct name. I could imagine over the course of several years seeing Typheinne de la Croix, Typhenne de la Croix, Typheinne dela Cross, Typheinne de Northshield, etc.

(no subject)

Date: 2008-11-22 10:38 pm (UTC)
From: [identity profile] eclecticmagpie.livejournal.com
The mundane name is a useful way to do this -- though not completely watertight (SSN would be better for most people), but it doesn't need to be _visible,_ which seems to be Aurelia's complaint.

(no subject)

Date: 2008-11-22 11:05 pm (UTC)
From: [identity profile] msmemory.livejournal.com
Mundane name is not going to be visible to the average user. It's part of the under-the-hood records only (as is gender).

(no subject)

Date: 2008-11-23 12:36 am (UTC)
tpau: (Default)
From: [personal profile] tpau
can you at least make persona gender availible? us scribes needs it...

(no subject)

Date: 2008-11-23 04:34 am (UTC)
From: [identity profile] dagonell.livejournal.com
How do you handle the case of the mundane name changing? Ghod knows, I've seen enough cases where Miss Jane Doe who is Lady Jane of Herplacename marries Mr John Smith who is Lord John of Hisplacename and not becomes Mrs Jane Smith, but also Lady Jane of Hisplacename.
-- Dagonell

(no subject)

Date: 2008-11-22 11:56 pm (UTC)
From: [identity profile] rufinia.livejournal.com
well, yes and no.

If it's not visible, it's still there, which could make people uncomfortable (And I'll say it makes me uncomfortable. I'm not sure why, but it does). And if it's not neccesary, then why have it at all? True, mundane names are less changable than SCA names, but not by a lot, and you are more likely to have repeats in mundane names, so having one as a unique identifier doesn't seem like the most elegant of solutions.

(no subject)

Date: 2008-11-25 04:21 am (UTC)
From: [identity profile] fosveny.livejournal.com
The mundane name can't be the unique identifier. I'm sure we have more than one "John Smith" in the SCA.

The SCA name, if registered, is supposed to be unique. It says so right here on the label. Of course, 'supposed to be' is wishful thinking - there are a handful of cases where we have duplicates, and even one duplicate is enough to screw up a database that wants a unique field.

It's not just highly scattered and highly ambiguous. It's also highly incomplete.

(no subject)

Date: 2008-11-22 08:29 pm (UTC)
tpau: (Default)
From: [personal profile] tpau
when you start working on this, can i help?

(no subject)

Date: 2008-11-22 09:21 pm (UTC)
ext_44932: (tech)
From: [identity profile] baavgai.livejournal.com
I'm unclear of the meaning of "Crown 1, Crown 2" in Court. I would think that would warrant two separate records?

For residence, I'd recommend making a separated entity for (Date, Person, Residence) so that you can be historical about it. e.g. "is that the same Erik that used to be in..."

Event probably also wants a date, if not more.

Also, a quirk of the SCA. You'll probably want gender on both the Person and the "SCA Name" entity. You may also want a time stamp on SCA Name, because people change...

(no subject)

Date: 2008-11-22 09:42 pm (UTC)
dsrtao: dsr as a LEGO minifig (Default)
From: [personal profile] dsrtao
SCA Name should also include:
Alias: string

which denotes how a person is commonly called when it's not a straight substring of some part of their Name. Good for searches.

(no subject)

Date: 2008-11-22 10:41 pm (UTC)
From: [identity profile] eclecticmagpie.livejournal.com
Good point. Also, more than one such alias -- nicknames change as well, and some people have more than one anyway, as, for example, Fryderych (many spellings) known as Fritz, aka "that guy in the plate armor".
From: [identity profile] peregrinning.livejournal.com
I'm having a hard time understanding the relationship of this database to the calendar. I don't see date fields where I expect them. I think you're focusing all date information at the "court" data type, which makes some sense. "Event" feels slim without dates or recurrence number (i.e. GNEW LXVII)... I think name of court should at least be created from the data in the court data type (i.e. "#th Court of Crown1 and Crown2 at Event on Date") so that you have something to select from for the bestowal data type, and something to list in the output.

I would also want dates for the founding/creation/elevation/retirement of SCA branches as well, though you may see that as part of the bestowal concept. Since this is focused on court reports, a way to connect that sort of court business is probably in your mind already. I think it would mean that "recipient" might be the name of an SCA branch.

I use "SCA branch," probably because my work as a cartographer forced me into a too-close reading of the Midrealm Seneschal's handbook. :-) "SCA Branch" helps to separate the standard branch types (Barony, Shire, Canton, etc.) from the many other groups in the SCA (Guilds, Households, etc.). I have no idea if that usage is widespread.

(no subject)

Date: 2008-11-22 11:06 pm (UTC)
From: [identity profile] goldsquare.livejournal.com
I can see a lot of other fields to play with. For example:

Joe gets a Laurel in the East, moves to the Midrealm... how is that recorded? Comes back to the East, resigns. Or is banished. Do you want to record each of those, somehow?

I haven't gone through the entire data structure like that. Would it help?

(no subject)

Date: 2008-11-23 04:20 am (UTC)
From: [identity profile] goldsquare.livejournal.com
I'll try to get back to it.

As for the dismissed point, there have been times when people have tried to use the OP not just for "who has what" but "How many X did Crowns Y and Z give out".

(no subject)

Date: 2008-11-23 12:19 am (UTC)
siderea: (Default)
From: [personal profile] siderea
Radical thought: why have separate SCA and Mundane name tables? Why not have a name table, with a bit for SCA vs Mundane? That way, when you're looking for someone, you can search one table w/o wondering if, e.g. "Jack Greene" is an SCA or a Mundane name? Also, it makes it trivial to return all of a person's identities.

(no subject)

Date: 2008-11-23 01:25 am (UTC)
siderea: (Default)
From: [personal profile] siderea
An interesting point. (Normalization is great stuff, right up to the point it isn't.)

BTW, this brings up the point: how is this going to be used? Is there going to be a public interface on the internet? You're aware of the SCA, Inc's policy on systems that connect SCA name to legal name?

(no subject)

Date: 2008-11-23 04:44 am (UTC)
From: [identity profile] dagonell.livejournal.com
"Indeed, I'd be surprised to find any, given how many SCA regulations *require* you to track both SCA and mundane names for various purposes..."

*Snort!* Yeah, like shire voting procedures! This was recently a PITA in our shire during elections. Only 'eligible' members can vote. Who's an 'eligible' member? A paid member within the zip codes. Which means you need to see both SCA proof of membership like a TI subscription AND mundane proof of residence like a gas bill, but you're not allowed to correlate SCA name with mundane name, oh no...
-- Dagonell

(no subject)

Date: 2008-11-23 02:05 am (UTC)
cellio: (avatar)
From: [personal profile] cellio
Most of the time we won't know a mundane name but we will know that A and B are the same person (different personas, either sequential or concurrent). It would be good to have some way for that to all sort together -- if I'm considering writing someone in for an award, I want to know if he already has it and I don't want to play guess-the-alternate-persona. In the cases where you know a mundane name (e.g. if he's registered his name then the heralds have that in their DB), fine and dandy. If not, I would think you would need a way to cons up a unique ID.

Is it useful to have a place to hang (where known) the members of a collective?

Profile

jducoeur: (Default)
jducoeur

July 2025

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags