From b9da2d88e21e5edda04e928352b45d203147be26 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 14 May 2019 21:29:04 +0200 Subject: ee.xsd: o Removing distributor info, wasn't useful. o Removing part type, using a fact instead. part-search-list: o Putting in some smart rules about values for parts. Might be too smart for its own good. o Removing duplication checking, that is up to the searcher to decide. --- src/ee/xml/uris.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ee/xml/uris.py') diff --git a/src/ee/xml/uris.py b/src/ee/xml/uris.py index c716103..f168c59 100644 --- a/src/ee/xml/uris.py +++ b/src/ee/xml/uris.py @@ -1,10 +1,12 @@ from typing import Optional +# Values for `..#type` facts CAPACITOR = "http://purl.org/ee/part-type#capacitor" RESISTOR = "http://purl.org/ee/part-type#resistor" DIODE = "http://purl.org/ee/part-type#diode" INDUCTOR = "http://purl.org/ee/part-type#inductor" CRYSTAL = "http://purl.org/ee/part-type#inductor" +TRANSISTOR = "http://purl.org/ee/part-type#transistor" _DIGIKEY_FACT_KEY_PREFIX = "http://purl.org/ee/digikey-fact-key#" -- cgit v1.2.3