Linked Art in C#

object/ccp-plate/1 matches the site

On linked.art: Object Production and Destruction › Reproduction from an Identifiable Source · site JSON · type HumanMadeObject · ProductionDestruction.Canterbury_Plate_1

C#

public static HumanMadeObject Canterbury_Plate_1()
{
    var plate = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/ccp-plate/1")
        .WithLabel("Plate for CCP")
        .WithMadeOf("copper", "300011020");

    return plate;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/ccp-plate/1",
  "type": "HumanMadeObject",
  "_label": "Plate for CCP",
  "made_of": [
    {
      "id": "http://vocab.getty.edu/aat/300011020",
      "type": "Material",
      "_label": "copper"
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/ccp-plate/1",
  "type": "HumanMadeObject",
  "_label": "Plate for CCP",
  "made_of": [
    {
      "id": "http://vocab.getty.edu/aat/300011020",
      "type": "Material",
      "_label": "copper"
    }
  ]
}

Comparison

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

Properties used

made_of

Vocabulary terms

copper