{
  "@context": "https://unvtd.unece.org/purchase-order-context.json",
  "type": [
    "VerifiableCredential",
    "PurchaseOrder"
  ],
  "credentialSchema": {
    "id": "https://unvtd.unece.org/purchase-order-schema.yaml",
    "type": "JsonSchema"
  },
  "id": "urn:uuid:po-2025-001-credential",
  "validFrom": "2025-03-01T10:00:00Z",
  "validTo": "2026-03-01T10:00:00Z",
  "issuer": "did:web:waveridersupplies.example.com",
  "credentialSubject": {
    "purchaseOrderNumber": "PO-2025-001",
    "orderDate": "2025-03-01T00:00:00Z",
    "buyer": {
      "type": "Buyer",
      "id": "did:web:waveridersupplies.example.com",
      "name": "Wave Rider Supplies, Inc",
      "street": "210 Ocean Road",
      "city": "Williamsburg",
      "state": "NSW",
      "zip": 75002,
      "country": "AU"
    },
    "seller": {
      "type": "Seller",
      "id": "did:web:surfpro.example.com",
      "name": "SurfPro Manufacturing Inc.",
      "street": "150 Industrial Drive",
      "city": "Gold Coast",
      "state": "QLD",
      "zip": 4217,
      "country": "AU"
    },
    "invoicee": {
      "type": "Invoicee",
      "id": "did:web:waveridersupplies.example.com",
      "name": "Wave Rider Supplies, Inc",
      "street": "210 Ocean Road",
      "city": "Williamsburg",
      "state": "NSW",
      "zip": 75002,
      "country": "AU"
    },
    "deliveryLocation": {
      "name": "Wave Rider Supplies Warehouse",
      "street": "210 Ocean Road",
      "city": "Williamsburg",
      "state": "NSW",
      "zip": 75002,
      "country": "AU",
      "unlocode": "https://service.unece.org/trade/locode/au.htm#AUSYD"
    },
    "paymentTerms": "Net 30 days",
    "paymentMethod": "Wire Transfer",
    "allowanceCharge": {
      "type": "allowance",
      "description": "Volume discount for large order",
      "amount": {
        "type": "MonetaryAmount",
        "amount": 2500.0,
        "currency": "USD"
      }
    },
    "totalOrderAmount": {
      "type": "MonetaryAmount",
      "amount": 73250.0,
      "currency": "USD"
    },
    "orderedItems": [
      {
        "type": "TradeLineItem",
        "productIdentifier": "SURF-LB-001",
        "product": {
          "type": "Product",
          "id": "urn:uuid:surf-001-longboard",
          "name": "Professional Longboard - Ocean Series",
          "description": "High-performance longboard with premium bamboo core and fiberglass construction, 9'6\" length"
        },
        "quantityOrdered": 25,
        "unitPrice": {
          "type": "MonetaryAmount",
          "amount": 750.0,
          "currency": "USD"
        },
        "lineTotal": {
          "type": "MonetaryAmount",
          "amount": 18750.0,
          "currency": "USD"
        }
      },
      {
        "type": "TradeLineItem",
        "productIdentifier": "SURF-SB-002",
        "product": {
          "type": "Product",
          "id": "urn:uuid:surf-002-shortboard",
          "name": "Performance Shortboard - Pro Series",
          "description": "Competition-grade shortboard with carbon fiber reinforcement, 6'2\" length"
        },
        "quantityOrdered": 50,
        "unitPrice": {
          "type": "MonetaryAmount",
          "amount": 650.0,
          "currency": "USD"
        },
        "lineTotal": {
          "type": "MonetaryAmount",
          "amount": 32500.0,
          "currency": "USD"
        }
      },
      {
        "type": "TradeLineItem",
        "productIdentifier": "SURF-FIN-003",
        "product": {
          "type": "Product",
          "id": "urn:uuid:surf-003-fins",
          "name": "Surfboard Fin Set - Thruster",
          "description": "Professional thruster fin set with honeycomb construction"
        },
        "quantityOrdered": 100,
        "unitPrice": {
          "type": "MonetaryAmount",
          "amount": 85.0,
          "currency": "USD"
        },
        "lineTotal": {
          "type": "MonetaryAmount",
          "amount": 8500.0,
          "currency": "USD"
        }
      },
      {
        "type": "TradeLineItem",
        "productIdentifier": "SURF-WS-004",
        "product": {
          "type": "Product",
          "id": "urn:uuid:surf-004-wetsuit",
          "name": "Premium Wetsuit - 3/2mm",
          "description": "High-quality neoprene wetsuit with sealed seams, 3/2mm thickness"
        },
        "quantityOrdered": 75,
        "unitPrice": {
          "type": "MonetaryAmount",
          "amount": 180.0,
          "currency": "USD"
        },
        "lineTotal": {
          "type": "MonetaryAmount",
          "amount": 13500.0,
          "currency": "USD"
        }
      }
    ]
  }
}
