openfoodfoundation / sib-discovery-components

Development and application of Startin'Blox Discovery components, initial use in Discover Regenerative www.regenerative.org.au
1 stars 0 forks source link

Producer details - Title of individual certification should be the Certifying body #35

Open mariocarabotta opened 1 month ago

mariocarabotta commented 1 month ago

Image

At the moment it's using a general label (I believe mapped against the Certifying body). It should just just the name of the organisation Certifying body itself.

There is an example of certification for The Regenerative Farm DR Example producer. The title should use Australian Certified Organic (ACO)

JbPasquier commented 1 month ago

@mkllnk I don't have this data.

Here's what I get:

{
  "ofn:Creation_date": "2024-03-26",
  "ofn:Certification_ID": "23109",
  "ofn:Certification_status": [
    "Organic"
  ],
  "ofn:Description": "Certified Organic, Biodynamic in-conversion",
  "ofn:Link": "https://www.sxcertified.com.au/Certificates/certificate.aspx?number=23109",
  "ofn:Expiry_date": "2024-10-26",
  "ofn:attachment_uri": "https://v5.airtableusercontent.com/v3/u/27/27/1712664000000/bTHWhz0B2jMuRG3KbpJhXQ/666sC6fncMROC2ahdRCKruzBoU0UjiQ4Bowxcw29IosGlL4iqdsQVvT3OctLNnTURuunJW6Phnf6Y-LRRySjcqKRoa6u1teVyPpS9p_jdTNzjl1kBvkprn1lgVcWQ0G0WM81X9lapsekcxQow-fG6Q/ZdLvHlmLAj3AmLaBnKPRKFNtFPZTFb4NbqxBQoXH9Q8",
  "ofn:hasCertificationStatus": {
    "@id": "https://api.regenerative.org.au/webhook/regen/certification?id=Organic",
    "@type": "http://www.w3.org/2004/02/skos/core#Concept",
    "ofn:label": "Organic"
  },
  "@type": "ofn:certification",
  "@id": "https://api.regenerative.org.au/webhook/regen/assurance?id=recLBpmsi4echNxIJ",
  "@context": "https://api.regenerative.org.au/context.json"
}
mkllnk commented 1 month ago

I made this available now as ofn:certifying_body_name. Example Bello Beef:

JbPasquier commented 4 weeks ago

Done.

mariocarabotta commented 3 weeks ago

I can see this coming through well in SiB test environment, not yet in WP. I assume the WP code is not the latest. Will leave this in testing until that's good in WP too.

Thanks!