Bug 7356 - Fix various typos and mis-spellings
[koha.git] / etc / zebradb / ccl.properties
index c9a306c..f93de96 100644 (file)
@@ -1,16 +1,16 @@
 # CCL field mappings
 # There are four types of lines in a CCL profile: 
 #  1. qualifier specification
-#      qualifier-name   [  attributeset   ,]  type   =   val   [  attributeset   ,]  type   =   val   ...
+#   qualifier-name   [  attributeset   ,]  type   =   val   [  attributeset   ,]  type   =   val   ...
 # 
 #  2. qualifier alias
-#      q q1 q2 q3
+#   q q1 q2 q3
 #
 #  3. comments
-#      comments begin with #
+#   comments begin with #
 #
 #  4. directives
-#      @   directive    value
+#   @   directive    value
 #
 # see http://indexdata.dk/yaz/doc/tools.tkl#CCL for more details
 #
@@ -20,6 +20,7 @@ term t=l,r  s=al
 # Simple rule for a field called "clean"
 clean t=l,r
 
+###################################################
 ### 1. BIB1 USE ATTRIBUTES MAPPED TO CCL QUALIFIERS
 #
 # SEE http://www.loc.gov/z3950/agency/bib1.html
@@ -89,7 +90,7 @@ kw Any
 #                           or a conference or meeting      410, 411, 700, 710,
 #                           name.  (No subject name         711, 800, 810, 811
 #                           headings are included.)
-Author 5=1 1=1003 s=pw
+Author 1=1003 s=pw
 au Author
 aut 1=1003
 #Author-name-and-     1000  A personal or corporate author, 100/2XX, 110/2XX,
@@ -183,7 +184,7 @@ aut 1=1003
 #                           number from a system not
 #                           specified elsewhere in this
 #                           list of attributes.
-Local-classification 4=1 1=20
+Local-classification 1=20
 lcn Local-classification
 callnum Local-classification
 #Local-classification cc callnum dewey
@@ -218,7 +219,7 @@ callnum Local-classification
 #                           bibliographic level such as
 #                           monograph, serial or collection
 #                           of the record.
-#Bib-level 1=1021
+Bib-level 1=1021
 #
 #Code-geographic-area   55  A code that indicates the       043
 #                           geographic area(s) that appear
@@ -244,14 +245,13 @@ callnum Local-classification
 #                           location.  The code space is
 #                           defined by the target.
 Code-institution 1=56
-homebranch Code-institution
 
 #
 #Code-language          54  A code that indicates the       008/35-37, 041
 #                           language of the item.
 #                           The codes are defined by the
 #                           target.
-language          1=54
+language 1=54
 ln language
 
 #Code-map-scale       1024  Coded form of cartographic      034
@@ -273,7 +273,7 @@ ln language
 Record-type 1=1001
 rtype Record-type
 mc-rtype Record-type
-mus 1=1001
+mus Record-type
 
 #Concept-reference    1015  Used within Z39.50-1988;
 #                           included here for historical
@@ -292,7 +292,7 @@ mus 1=1001
 #                           publication.  For example:
 #                           review, catalog, encyclopedia,
 #                           directory.
-Content-type         1=1034 t=b
+Content-type 1=1034 t=b
 ctype Content-type
 
 #Control number-BNB     10  Character string that uniquely  015
@@ -313,8 +313,8 @@ ctype Content-type
 #Control number-LC       9  Character string that uniquely  010, 011
 #                           identifies a record in the
 #                           Library of Congress database.
-#LC-card-number 1=9
-#lc-card LC-card-number
+LC-card-number 1=9
+lc-card LC-card-number
 
 #Control number-local   12  Character string that uniquely  001, 035
 #                           identifies a record in a local
@@ -322,22 +322,24 @@ ctype Content-type
 #                           is not one of the four listed
 #                           above).
 Local-number 1=12
+sn Local-number
 
 #Date                   30  The point of time at which      005, 008/00-05,
 #                           a transaction or event          008/07-10, 260$c,
 #                           takes place.                    008/11-14, 033,etc.
-Date 1=30 4=109 r=r
-#yr Date
+# interpreting this as the copyright date in 260$c
+copydate 1=30 r=r
 
 #Date-publication       31  The date (usually year) in      008/07-10, 260$c
 #                           which a document is published.  046, 533$d
-Date-of-publication 1=31 4=109 r=r
+Date-of-publication 1=pubdate r=r
 #dp Date-of-publication
 yr Date-of-publication
+pubdate Date-of-publication
 
 #Date-acquisition       32  The date when a document was    541$d
 #                           acquired.
-Date-of-acquisition 1=32
+Date-of-acquisition 1=Date-of-acquisition
 acqdate Date-of-acquisition
 #da Date-of-acquisition
 
@@ -385,7 +387,7 @@ acqdate Date-of-acquisition
 #                           identifies a book uniquely.
 #                           Cf. ANSI/NISO Z39.21 and
 #                           ISO 2108.
-ISBN         1=7
+ISBN 1=7
 nb ISBN
 
 #Identifier-ISSN         8  International Standard Serial   022, 4XX$x,
@@ -394,7 +396,7 @@ nb ISBN
 #                           identifies a serial uniquely.
 #                           Cf. ANSI/NISO z39.9 and
 #                           ISO 3297.
-ISSN         1=8
+ISSN 1=8
 ns ISSN
 
 #Identifier-legal-      49  The copyright registration      017
@@ -433,14 +435,16 @@ ns ISSN
 #                           are indexed together in many    030, 035, 037
 #                           online public-access catalogs.
 #Identifier-standard  1=1007 4=6
-Local-number  1=12
-#sn Identifier-standard
-sn Local-number
 #
 #Identifier-stock     1028  A stock number that could be    037
 #                           used for ordering the item.
+Identifier-standard  1=1007 4=6
+ident Identifier-standard
+upc 1=UPC
+ean 1=EAN
+music 1=Music-number
+
 Stock-number 1=1028
-bc Stock-number
 
 #Identifier-thematic  1030  The numeric designation for a   $n in the following:
 #                           part/section of a work such as  130, 240, 243, 630,
@@ -460,12 +464,7 @@ bc Stock-number
 #                           of the item, e.g., cassette,
 #                           kit, computer database,
 #                           computer file.
-Material-type  1=1031
-#collection Material-type
-#collection-code Material-type
-#mt Material-type
-#mc-collection Material-type
-#dt-lh Material-type
+Material-type 1=1031
 
 #Music-key            1025  A statement of the key in       $r in the following:
 #                           which the music is written.     130, 240, 243, 630,
@@ -493,18 +492,26 @@ Material-type     1=1031
 #                           of persons that is identified   810
 #                           by a particular name. (Subject
 #                           name headings are included.)
-Corporate-name 1=2
+Corporate-name 1=Corporate-name
 cpn Corporate-name
 
+Corporate-name-heading 1=Corporate-name-heading
+Corporate-name-see 1=Corporate-name-see
+Corporate-name-seealso 1=Corporate-name-seealso
+
 #Name-conference         3  A meeting of individuals or     111, 411, 611, 711
 #                           representatives of various      811
 #                           bodies for the purpose of
 #                           discussing topics of common
 #                           interest.  (Subject name
 #                           headings are included.)
-Conference-name 1=3
+Conference-name 1=Conference-name
 cfn Conference-name
 
+Conference-name-heading 1=Conference-name-heading
+Conference-name-see 1=Conference-name-see
+Conference-name-seealso 1=Conference-name-seealso
+
 #Name-editor          1020  A person who prepared for       100 $a or 700 $a when
 #                           publication an item that is     the corresponding $e
 #                           not his or her own.             contains value 'ed.'
@@ -513,17 +520,32 @@ cfn Conference-name
 #Name-geographic        58  Name of a country,              651
 #                           jurisdiction, region, or
 #                           geographic feature.
-#Name-geographic        1=58
+Name-geographic 1=Name-geographic
+Name-geographic-heading 1=Name-geographic-heading
+Name-geographic-see 1=Name-geographic-see
+Name-geographic-seealso 1=Name-geographic-seealso
+
+# Genre/Form Term       9019 Geographic Term
+Term-genre-form 1=Term-genre-form
+Term-genre-form-heading 1=Term-genre-form-heading
+Term-genre-form-see 1=Term-genre-form-see
+Term-genre-form-seealso 1=Term-genre-form-seealso
 
 #Name-geographic-place- 59  City or town where an item      008/15-17, 260$a
 #publication                was published.
+Place-publication 1=59
+pl Place-publication
 
 #Name-personal           1  A person's real name,           100, 400, 600, 700,
 #                           pseudonym, title of nobility    800
 #                           nickname, or initials.
-Personal-name 1=1
+Personal-name 1=Personal-name
 pn Personal-name
 
+Personal-name-heading 1=Personal-name-heading
+Personal-name-see 1=Personal-name-see
+Personal-name-seealso 1=Personal-name-seealso
+
 #Name-publisher       1018  The organization responsible    260$b
 #                           for the publication of the
 #                           item.
@@ -535,9 +557,13 @@ pb Publisher
 #                           physical description,
 #                           relationship to other works,
 #                           or contents may be recorded.
-Note                   1=63
+Note 1=63
 nt Note
 
+# Record-linking
+Record-control-number 1=1045
+rcn Record-control-number
+
 #Record-source        1019  The USMARC code or name of the  008/39, 040
 #                           organization(s) that created
 #                           the original record, assigned
@@ -570,7 +596,7 @@ nt Note
 #Subject                21  The primary topic on which a    600, 610, 611, 630,
 #                           work is focused.                650, 651, 653, 654,
 #                                                           655, 656, 657, 69X
-Subject                1=21
+Subject 1=21
 su Subject
 su-to Subject
 su-geo Subject
@@ -672,7 +698,7 @@ su-na 1=1009
 #                           place, period of time treated,
 #                           or aspect of the subject
 #                           treated.
-#Subject-subdivision 1=47
+Subject-subdivision 1=47
 
 #Title                   4  A word, phrase, character,      130, 21X-24X, 440,
 #                           or group of characters,         490, 730, 740, 830,
@@ -682,8 +708,6 @@ su-na 1=1009
 #                                                           610, 611, 700, 710,
 #                                                           711, 800, 810, 811
 Title 1=4
-#5=1 1=4 s=pw
-#1=4
 ti Title
 
 #Title-abbreviated      43  Shortened form of the title;    210, 211 (obs.),
@@ -717,7 +741,7 @@ ti Title
 
 #Title-cover            36  The title printed on the        246i4
 #                           cover of an item as issued. 
-Title-cover            1=36
+Title-cover 1=36
 
 #Title-expanded         44  An expanded (or augmented)      214 (obs.), 246
 #                           title has been enlarged with
@@ -741,7 +765,7 @@ Title-cover            1=36
 #                           example, a journal title
 #                           when the record describes an
 #                           article in the journal.
-Host-item      1=1033
+Host-item 1=1033
 
 #Title-key              33  The unique name assigned to     222
 #                           a serial by the International
@@ -761,6 +785,19 @@ Host-item      1=1033
 #                           language and/or script.
 #Title-parallel         1=35
 
+#Video
+video-mt 1=Video-mt
+Video-mt video-mt
+Graphics-type 1=Graphic-type
+Graphics-support 1=Graphic-support
+Type-Of-Serial 1=Type-Of-Serial
+Frequency-code 1=Frequency-code
+Regularity-code 1=Regularity-code
+Material-type  1=Material-type
+Literature-Code        1=Literature-Code
+Biography-code 1=Biography-code
+Illustration-code      1=Illustration-code
+
 #Title-related-       1026  Serial titles related to this   247, 780, 785
 #periodical                 item, either the immediate
 #                           predecessor or the immediate
@@ -775,7 +812,7 @@ Host-item      1=1033
 #                           a group of separate, but        subfield $t in the
 #                           related, items.                 following: 400,410,
 #                                                           411, 800, 810, 811
-Title-series            1=5
+Title-series 1=5
 #series Title-series
 se Title-series
 
@@ -787,29 +824,44 @@ se Title-series
 #                           a work is to be identified      subfield $t in the
 #                           for cataloging purposes.        following: 700,710,
 #                                                           711
-Title-uniform           1=6
+Title-uniform 1=Title-uniform
 ut Title-uniform
-#Authority-number           Koha-Auth-Number  The Number   
-#                           for an authority to be searched subfield $9 in the
-#                           for cataloging purposes.        following: 700,701,702,710,
-#                                                           711,712 and some 6XX fields (Unimarc)
-Authority-Number           1=8910
-an Authority-Number
-Koha-Auth-Number Authority-Number
-
-#Authority/format-id        authtypecode  The Code 
-#                           associated to an authority type
-#                                                            152$b in authority records
-Authority/format-id           1=Authority/format-id
-at Authority/format-id
 
-#Heading-Entity             Information for Heading in an 
-#                           authority record 
-#                                                             usually 2.. fields
-Heading-Entity           1=Heading-Entity
-he Heading-Entity
+Title-uniform-heading 1=Title-uniform-heading
+Title-uniform-see 1=Title-uniform-see
+Title-uniform-seealso 1=Title-uniform-seealso
 
+#Authority-number           Koha-Auth-Number  The identifier of the authority
+#                           record, stored in 001 in the authority record, and $9/$0 in the
+#                           field that record is linked to in the bib record
+Authority-Number 1=Koha-Auth-Number
+an Authority-Number
+Koha-Auth-Number Authority-Number
 
+#authtype                   A coded value representing the authority type
+#                                                            942$a in auth records
+authtype        1=authtype
+at authtype
+
+# Subdivisions
+
+Geographic-subdivision 1=Geographic-subdivision
+Chronological-subdivision 1=Chronological-subdivision
+Form-subdivision 1=Form-subdivision
+
+# Koha Local-Use Authority Indexes
+Heading 1=Heading
+he Heading
+See 1=See
+See-also 1=See-also
+Match-heading 1=Match-heading
+Match-heading-see-from 1=Match-heading-see-from
+Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry
+Heading-use-series-added-entry 1=Heading-use-series-added-entry
+Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
+Subject-heading-thesaurus 1=Subject-heading-thesaurus
+
+###################################################
 ### 2. BIB1 RELATION ATTRIBUTES
 lt 2=1
 le 2=2
@@ -822,9 +874,12 @@ relevance 2=102
 rk 2=102
 rank relevance
 
+allrecords 1=_ALLRECORDS
 AlwaysMatches 2=103
+
 Within 2=104
 
+###################################################
 ### 3. BIB1 POSITION ATTRIBUTES
 first-in-field 3=1
 
@@ -838,63 +893,60 @@ startswithnt 3=1 5=101 6=3
 first-in-subfield 3=2
 any-position-in-field 3=3
 
+###################################################
 ### 4. BIB1 STRUCTURE ATTRIBUTES
 st-phrase 4=1
 phr st-phrase
-st-word        4=2
-st-key         4=3
-st-year        4=4
-st-date-normalized     4=5
-st-word-list   4=6
-wrdl 4=6
-
-# there was a reason I didn't want to use this but it's
-# escaped me -- JF
-wrd 4=6
-
+st-word     4=2
+st-key  4=3
+st-year     4=4
+st-date-normalized  4=5
+st-word-list    4=6
+wrdl st-word-list
 #st-word
-st-date-un-normalized  4=100
-st-name-normalized     4=101
-st-name-un-normalized  4=102
-st-structure   4=103
-st-urx         4=104
-st-free-form-text      4=105
-st-document-text       4=106
-st-local       number 4=107
-st-string      4=108
-st-numeric     4=109
+st-date-un-normalized   4=100
+st-name-normalized  4=101
+st-name-un-normalized   4=102
+st-structure    4=103
+st-urx  4=104
+st-free-form-text   4=105
+st-document-text    4=106
+st-local-number 4=107
+st-string   4=108
+# http://indexdata.dk/yaz/doc/tools.tkl#ccl.special.attribute.combos
+st-numeric  4=109 r=o
 #string 109
 
+###################################################
 ### 5. BIB1 TRUNCATION ATTRIBUTES
 right-Truncation 5=1
 rt right-Truncation
 rtrn right-Truncation
-left-Truncation        5=2
+left-Truncation     5=2
 ltrn left-Truncation
-left-and-right         5=3
+left-and-right  5=3
 rltrn left-and-right
-do-not-truncate        5=100
-process-in-search-term         5=101
-regExpr-1      5=102
+do-not-truncate     5=100
+process-in-search-term 5=101
+regExpr-1 5=102
 fuzzy 5=103
-regExpr-2      5=103
-Z39-58 5=104
+regExpr-2 5=103
+Z39-58  5=104
 
+###################################################
 ### 6. BIB1 STRUCTURE ATTRIBUTES
-incomplete-subfield    6=1
-complete-subfield      6=2
-complete-field         6=3
+incomplete-subfield 6=1
+complete-subfield 6=2
+complete-field 6=3
 
-### COMBINATIONS OF THE ABOVE
+###################################################
+### SPECIAL COMBINATIONS OF THE ABOVE
 ext 4=1 6=3
 
-## ATTRIBUTES NOT IN BIB1 OR ELSE ONES I DON"T KNOW WHERE IN BIB1 THEY BELONG
-#Language
-#ln 1=8805
-#language 1=8805
-#Musical Composition
-#mc
+###################################################
+## ATTRIBUTES NOT IN BIB1
 
+###
 # Koha Local-Use Biblio Indexes
 Control-number 1=9001
 biblionumber 1=9002
@@ -902,36 +954,52 @@ totalissues 1=9003
 cn-bib-source 1=9004
 cn-bib-sort 1=9005
 itemtype 1=9006
+mc-itemtype itemtype
 cn-class 1=9007
 cn-item 1=9008 
 cn-prefix 1=9009
 cn-suffix 1=9010
-
+Suppress 1=9011
+id-other 1=9012
+date-entered-on-file 1=date-entered-on-file
+extent 1=Extent
+llength 1=llength
+Summary 1=Summary
+
+###
 # Items Index
-withdrawn 1=8001 4=109
-lost 1=8002 4=109
+withdrawn 1=8001
+lost 1=8002
 classification-source 1=8003
 materials-specified 1=8004
-damaged 1=8005 4=109
-restricted 1=8006 4=109
+damaged 1=8005
+restricted 1=8006
 cn-sort 1=8007
 notforloan 1=8008 4=109
 ccode 1=8009
-itemnumber 1=8010 4=109
-Code-institution 1=8011
+mc-ccode ccode
+itemnumber 1=8010
+# homebranch 1=8011
+homebranch 1=homebranch
+branch homebranch
 holdingbranch 1=8012
 location 1=8013
-Date-of-acquisition 1=8014
+mc-loc location
+# defined as 1=32 above
+#Date-of-acquisition 1=8014
 acqsource 1=8015
 coded-location-qualifier 1=8016
 price 1=8017
-stack 1=8018 4=109
-issues 1=8019 4=109
-renewals 1=8020 4=109
-reserves 1=8021 4=109
+stocknumber 1=1062
+inv stocknumber
+stack 1=8018
+issues 1=8019
+renewals 1=8020
+reserves 1=8021
 Local-classification 1=8022
 barcode 1=8023
-onloan 1=8024 4=109
+bc barcode
+onloan 1=8024
 datelastseen 1=8025
 datelastborrowed 1=8026
 copynumber 1=8027
@@ -939,23 +1007,10 @@ uri 1=8028
 replacementprice 1=8029
 replacementpricedate 1=8030
 itype 1=8031
-mc itype
-# Publisher Location
-
-Place-publication 1=59
-pl Place-publication
-#pl 1=59
+mc-itype itype
 
-# Extent
-#Extent 1=8001
-
-#Summary                       1=8002
-#att 8900            
-#Call-Number 1=8900
-#date-entered-on-file 1=8800
 #date1 1=8801
 #date2 1=8802
-#language 8805
 ff8-22 1=8822
 ff8-23 1=8823
 ff8-34 1=8834
@@ -963,10 +1018,6 @@ ff8-34 1=8834
 #att 8700            ff7-00
 #att 8701            ff7-01
 #att 8702            ff7-02
-#att 9520            withdrawn
-#att 9521            lost
-#lost 1=9521 4=109
-#att 9522            onloan
 
 ############## SUBJECT-RELATED
 # Topical Term
@@ -982,49 +1033,45 @@ ff8-34 1=8834
 # lastname,firstname entry in $100$a
 Author-personal-bibliography 1=8900
 aub Author-personal-bibliography
+
 # Author-in-order - firstname lastname in 245$c statement of responsibility
 Author-in-order 1=8901
 auo Author-in-order
 
-### LIMITS
-# AUDIENCE
+# Audience
 audience 1=8822
 aud audience
 
-# CONTENT and Literary form
+# Content and Literary form
 fiction 1=8833
 fic fiction
-#mystery 1=
+#mystery 1=?
 biography 1=8834
 bio biography
 
-# FORMAT
+# Format
 format 1=8823
-
-# format limit
+# format used as a limit FIXME: needed?
 l-format 1=8703
 
-#fmt format
+Illustration-code 1=Illustration-code 
 
-# BRANCH (of local library)
-branch 1=homebranch
-#1033
+# Lexile Number
+lex 1=9903 r=r
 
-Illustration-code 1=Illustration-code 
-# Item Type
+#Accelerated Reader Level
+arl 1=9904 r=r
 
-# Year limit
-#yr 1=8801 4=109 r=r
+#Accelerated Reader Point
+arp 1=9013 r=r
 
-## STATUSES
-onloan 1=9522
-datedue 1=9522
+# Curriculum
+curriculum 1=9658
 
+## Statuses
 popularity 1=issues
 
-# Material Category
-#mc 1=8700
-## TYPE LIMITS
+## Type Limits
 dt-bks 1=8700
 dt-vis 1=8700
 dt-sr 1=8700
@@ -1035,7 +1082,7 @@ dt-map 1=8700
 r1 9=32
 r2 9=28
 r3 9=26
-r4 9=10
+r4 9=24
 r5 9=22
 r6 9=20
 r7 9=18
@@ -1050,6 +1097,7 @@ sort1 7=1
 sort2 7=2
 sort3 7=3
 
+###################################################
 # CCL DIRECTIVES
 # Truncation characters (it seems to take multiple arguments)
 @truncation ? *
@@ -1078,6 +1126,24 @@ sort3 7=3
 # a !n b
 # Integer n may be omitted - in which case distance is 1.
 
+###################################################
+# Rules for a few bath atts
+# For recent changes in this section, see Bugzilla #3735
+#keyTitle 1=33
+#possessingInstitution 1=1044
+name 1=1002
+#personalName 1=1
+#corporateName 1=2
+#conferenceName 1=3
+#uniformTitle 1=6
+isbn 1=7
+issn 1=8
+#geographicName 1=58
+notes 1=63
+#topicalSubject 1=1079
+#genreForm 1=1075
+
+###################################################
 # Rules for a few GILS fields
 #north  gils-attset,u=2040 r=o
 #south  gils-attset,u=2041 r=o
@@ -1086,6 +1152,7 @@ sort3 7=3
 #distributor gils-attset,u=2000 s=pw
 #distributorname gils-attset,u=2001 s=pw
 
+###################################################
 # Explain fields
 ExplainCategory      exp1,1=1
 HumanStringLanguage  exp1,1=2
@@ -1099,3 +1166,9 @@ DateAdded            exp1,1=9
 DateChanged          exp1,1=10
 DateExpires          exp1,1=11
 ElementSetName       exp1,1=12
+
+Item 1=9520
+item Item
+
+Host-Item-Number 1=8911
+hi Host-Item-Number