Linked Art in C#

provenance/3 matches the site

On linked.art: Transfer of Rights › Multiple Owners with Different Stakes · site JSON · type Activity · ProvenanceRights.Shared_Ownership

C#

public static Activity Shared_Ownership()
{
    var purchase = new Activity()
        .WithContext()
        .WithId("https://linked.art/example/provenance/3")
        .WithLabel("Purchase of Painting by Two Dealers")
        .WithClassifiedAs(Aat.ProvenanceActivity);

    purchase.Part = [
        new RightAcquisition
        {
            Establishes = [
                new Right()
                    .WithLabel("Total Right of Ownership")
                    .WithClassifiedAs(OwnershipRight)
                    .WithAppliesTo(Painting)
                    .WithPart(
                        Share("30% Ownership by Dealer 1", 30, "Dealer 1"),
                        Share("70% Ownership by Dealer 2", 70, "Dealer 2"))
            ]
        }
    ];

    return purchase;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/3",
  "type": "Activity",
  "_label": "Purchase of Painting by Two Dealers",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "RightAcquisition",
      "establishes": [
        {
          "type": "Right",
          "_label": "Total Right of Ownership",
          "classified_as": [
            {
              "id": "http://vocab.getty.edu/aat/300055603",
              "type": "Type",
              "_label": "Ownership Right"
            }
          ],
          "applies_to": [
            {
              "type": "HumanMadeObject",
              "_label": "Painting",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300033618",
                  "type": "Type",
                  "_label": "Painting",
                  "classified_as": [
                    {
                      "id": "http://vocab.getty.edu/aat/300435443",
                      "type": "Type",
                      "_label": "Type of Work"
                    }
                  ]
                }
              ]
            }
          ],
          "part": [
            {
              "type": "Right",
              "_label": "30% Ownership by Dealer 1",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300055603",
                  "type": "Type",
                  "_label": "Ownership Right"
                }
              ],
              "possessed_by": [
                {
                  "type": "Group",
                  "_label": "Dealer 1"
                }
              ],
              "dimension": [
                {
                  "type": "Dimension",
                  "value": 30,
                  "unit": {
                    "id": "http://qudt.org/3.0.0/vocab/unit/Percent",
                    "type": "MeasurementUnit",
                    "_label": "Percent"
                  }
                }
              ]
            },
            {
              "type": "Right",
              "_label": "70% Ownership by Dealer 2",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300055603",
                  "type": "Type",
                  "_label": "Ownership Right"
                }
              ],
              "possessed_by": [
                {
                  "type": "Group",
                  "_label": "Dealer 2"
                }
              ],
              "dimension": [
                {
                  "type": "Dimension",
                  "value": 70,
                  "unit": {
                    "id": "http://qudt.org/3.0.0/vocab/unit/Percent",
                    "type": "MeasurementUnit",
                    "_label": "Percent"
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/3",
  "type": "Activity",
  "_label": "Purchase of Painting by Two Dealers",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "RightAcquisition",
      "establishes": [
        {
          "type": "Right",
          "_label": "Total Right of Ownership",
          "classified_as": [
            {
              "id": "http://vocab.getty.edu/aat/300055603",
              "type": "Type",
              "_label": "Ownership Right"
            }
          ],
          "applies_to": [
            {
              "type": "HumanMadeObject",
              "_label": "Painting",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300033618",
                  "type": "Type",
                  "_label": "Painting",
                  "classified_as": [
                    {
                      "id": "http://vocab.getty.edu/aat/300435443",
                      "type": "Type",
                      "_label": "Type of Work"
                    }
                  ]
                }
              ]
            }
          ],
          "part": [
            {
              "type": "Right",
              "_label": "30% Ownership by Dealer 1",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300055603",
                  "type": "Type",
                  "_label": "Ownership Right"
                }
              ],
              "dimension": [
                {
                  "type": "Dimension",
                  "value": 30,
                  "unit": {
                    "id": "http://qudt.org/3.0.0/vocab/unit/Percent",
                    "type": "MeasurementUnit",
                    "_label": "Percent"
                  }
                }
              ],
              "possessed_by": [
                {
                  "type": "Group",
                  "_label": "Dealer 1"
                }
              ]
            },
            {
              "type": "Right",
              "_label": "70% Ownership by Dealer 2",
              "classified_as": [
                {
                  "id": "http://vocab.getty.edu/aat/300055603",
                  "type": "Type",
                  "_label": "Ownership Right"
                }
              ],
              "dimension": [
                {
                  "type": "Dimension",
                  "value": 70,
                  "unit": {
                    "id": "http://qudt.org/3.0.0/vocab/unit/Percent",
                    "type": "MeasurementUnit",
                    "_label": "Percent"
                  }
                }
              ],
              "possessed_by": [
                {
                  "type": "Group",
                  "_label": "Dealer 2"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Comparison

The two documents are equivalent (property order ignored, array order significant).

Properties used

applies_to classified_as dimension establishes part possessed_by unit value

Vocabulary terms

Painting Ownership Right Provenance Activity Type of Work